-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG/REF: Use lru_cache instead of NUMBA_FUNC_CACHE #46086
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.
assume this has neutral perf impact
pandas/core/groupby/groupby.py
Outdated
aggregator = executor.generate_shared_aggregator( | ||
func, engine_kwargs, numba_cache_key_str | ||
func, *get_jit_arguments(engine_kwargs) |
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.
can we change get_jit_argument
to return a dict and splat here? e.g. always keyword args
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.
Sure. Done.
Yup, additionally this actually reduces some unnecessary jitting when e.g. going from |
doc/source/whatsnew/v1.5.0.rst
file if fixing a bug or adding a new feature.