Up to [cvs.NetBSD.org] / pkgsrc / devel / py-cachebox
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-cachebox: updated to 6.2.10 6.2.10 This is a patch release fixed a critical bug in TTLCache/VTTLCache (popitem() method), and focused on correctness, deadlock avoidance, and internal robustness.
py-cachebox: updated to 6.2.9 6.2.9 RRCache random eviction is now expected O(1). popitem() and random_key() no longer walk the whole table. They probe a few random buckets and fall back only on sparse tables. Benchmarks show 10x-500x faster evicts Indexed binary heap for LFUCache/VTTLCache. Replaces the old “re-sort the whole VecDeque on every eviction” approach with an indexed min-heap. Filling a large VTTLCache is dramatically faster. Also fixes a bug where LFUCache.popitem() could evict a hot key after reads only Better hash distribution for hashbrown. Mixes Python hashes once (fold-multiply) so the 7-bit SIMD control tags are well distributed. Small ints and many floats previously all landed in tag 0, causing extra equality checks. Benchmarks show time dropped from ~200 ms to ~6 ms and __eq__ calls fell from ~4.5 M to ~9 k Iterator views now hold the cache lock while reading. Follow-up to the free-threaded iterator safety work. Every view method now takes the lock, checks the generation, and reads while still holding it Iterator implementation optimization. Tighter checks, fewer clones. Fix invalid DECREF on Py_None. This could panic on some builds/Python versions when the Bound was dropped Bumped PyO3 from 0.29.3 to 0.30.1
py-cachebox: added version 6.2.8 The fastest caching Python library written in Rust.