Skip to content

Numba caching prevents definition of new functions #17

@DavidLP

Description

@DavidLP

One cannot define new end_of_custer or end_of_event functions, when the interface data stay the same. The reason is, that caching is activated for: https://github.com/SiLab-Bonn/pixel_clusterizer/blob/master/pixel_clusterizer/cluster_functions.py#L167

There is no simple way to remove exisiting caches: https://stackoverflow.com/questions/44131691/how-to-clear-cache-or-force-recompilation-in-numba

Solutions: Clear cache manually when set_end_of_cluster_function or set_end_of_event_function are called

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions