Changelog¶
1.1.0 (2021-05-07)¶
MemoizedGroupis now picklable. This makes it usable by multiprocessing-based parallelism.MemoizedandMemoizedGroupare now thread-safe.Improved log messages.
determ_hash(obj)uses a hash of thepickle.dumps. This makes it accept more datatypes such asnumpy.int64, which could not be hashed by the olddeterm_hash.determ_hashstill falls back to hashing-by-attributes for non-picklable objects.The
time_costused to over-estimate (include the time which would have been spent in the non-memoized case as well (recomputing f(x))).Tweaked documentation.
with_attr(..., "key", lambda: key)replacesKeyVer(key, ver).
1.0.0 (2021-05-02)¶
Initial public release