geller.garry at gmail.com
Fri Jan 11 14:34:41 UTC 2019
Significant changes since previous announce:
1. added 2Q cache. 2Q is more advanced strategy than plain LRU.
It is faster, scan-resistant and can give more cache hits.
2. For LRU cache implemented per-item TTL in addition to global
1. Added unrolled double-linked lists. Unrolled lists are much
faster than plain double-linked lists. Unrolled lists used for 2Q
2. HashMap - code cleanup, use core.internal.hash: bytesHash for
Cachetools is set of cache strategies and containers. Caches and
containers are @safe and @nogc (inherits from key and value
Project page: https://github.com/ikod/cachetools
Some performance test results:
More information about the Digitalmars-d-announce