-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
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
Conversation
There was a problem hiding this 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!
Seems like there is a conflict now, if you want to have a look... |
One more conflict here otherwise LGTM |
@@ -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 |
There was a problem hiding this comment.
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.
Thanks @WillAyd |
Hashtable rename struct members
Should help with readability