Skip to content

bug: Add optional function cache for JIT-ting #19

@AncientPatata

Description

@AncientPatata

When Jitting with Numba, since we send a new function for each execution in the payload, the JIT cache gets invalidated. One way of solving this is by making it possible to cache a function and then reuse the same function (without unpickling it) if it's already been executed in a worker. (This doesn't involve any complex caching, just store the functions that have been pickled in a function_name -> function dict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions