-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Clean Up nogil Warning From Parsers #30369
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
presumably the nogil version was for performance. does that turn out not to matter? |
@@ -171,12 +171,9 @@ cdef extern from "parser/tokenizer.h": | |||
int64_t skip_first_N_rows | |||
int64_t skipfooter | |||
# pick one, depending on whether the converter requires GIL |
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.
comment is now extraneous
Nogil is still in play here; the one function that requires it just explicitly grabs it now |
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.
pls show all asv's for this, i can't believe this doesn't kill performance.
Ran the csv benchmarks and they showed no change. |
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.
comment, otherwise lgtm. ping on green.
@jreback all green |
thanks @WillAyd |
I think just easier to ensure The GIL is acquired within the C function rather than all of the current casting / indirection.
Eliminates the following warning: