Skip to content

BUG: Source code changes don't invalidate cache #521

@ccam80

Description

@ccam80

Numba Dispatchers are excluded from cache keys through setting eq=False in the compile settings objects. This means that we're not comparing instances, which is good for caching, but if we change the inner workings of the functions, it treats them as current. This is bad. To fix this, we should create an equality method that checks the pyfunc code for equality, and then use that for config hashing for the numba caching key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions