Changelog¶
1.1.0 (2021-05-07)¶
MemoizedGroup
is now picklable. This makes it usable by multiprocessing-based parallelism.Memoized
andMemoizedGroup
are 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_hash
still falls back to hashing-by-attributes for non-picklable objects.The
time_cost
used 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