Skip to content

CLN: Hashtable rename struct members #57704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Mar 2, 2024

Should help with readability

@WillAyd WillAyd added the Clean label Mar 2, 2024
Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, thank you!

@datapythonista datapythonista changed the title Hashtable rename struct members CLN: Hashtable rename struct members Mar 6, 2024
@datapythonista
Copy link
Member

Seems like there is a conflict now, if you want to have a look...

@mroeschke
Copy link
Member

One more conflict here otherwise LGTM

@mroeschke mroeschke added this to the 3.0 milestone Mar 20, 2024
@@ -164,7 +164,7 @@ ctypedef fused vector_data:
StringVectorData

cdef bint needs_resize(vector_data *data) noexcept nogil:
return data.n == data.m
return data.size == data.capacity
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if size ever increments more than 1 before checking, but a >= would probably be safer here.

@mroeschke mroeschke merged commit 303d78b into pandas-dev:main Mar 20, 2024
44 of 46 checks passed
@mroeschke
Copy link
Member

Thanks @WillAyd

@WillAyd WillAyd deleted the rename-hashtable-fields branch March 20, 2024 17:52
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants