Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions