Class Documentation

class jitcache.Cache

Bases: object

This class is a thread and process safe cache that prevents duplicated computation of a function if it is not in the cache.

memoize(func)

Decorator. Use this to cache any function.

Parameters:func – the function to be cached