Skip to content

Conversation

@mroeschke
Copy link
Member

@mroeschke mroeschke added the Refactor Internal refactoring of code label May 1, 2020
@mroeschke mroeschke added this to the 1.1 milestone May 1, 2020
from pandas.core.internals import BlockManager, make_block
from pandas.core.series import Series
from pandas.core.util.numba_ import (
NUMBA_FUNC_CACHE,
Copy link
Contributor

Choose a reason for hiding this comment

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

can you remove the CACHE from here as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

There are some separate code paths that store the function in the cache independently

Copy link
Contributor

Choose a reason for hiding this comment

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

i c. ideally this is not visible at all in this code if at all possible (this is what I mean by using a Dispatcher, e.g. that you would be how you would interactive with the function & cache itself). but i guess that's for the future.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah I see. Okay I can look into that in a future PR when playing around more with a Dispatcher

@jreback jreback merged commit d149f41 into pandas-dev:master May 1, 2020
@mroeschke mroeschke deleted the numba_helper_func branch May 1, 2020 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Internal refactoring of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants