[ANN] MemoizationKit.jl: memoization with bounded memory, disk persistence, and a live dashboard
Julia Programming Language
[ANN] MemoizationKit.jl: memoization with bounded memory, disk persistence, and a live dashboard
MemoizationKit.jl v0.1.0 memoizes expensive functions and gives you tools to manage the caches: limit memory, keep results across runs, and see what they’re doing. using MemoizationKit @cached function fib(n::Int)::BigInt n < 2 ? BigInt(n) : fib(n - 1) + fib(n - 2) end fib(100) # compute and cache cache_info(fib) # size and hit/miss statistics set_cache_size!(fib, 1000) # bound the cache Features Bounded storage: Clock and LRU eviction strategy, with limits...
0 comments
No comments yet.