Hello,

v.0.1.1 released.

Significant changes since previous announce:

Caches:

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 TTL.

Containers:

1. Added unrolled double-linked lists. Unrolled lists are much faster than plain double-linked lists. Unrolled lists used for 2Q cache implementation.

2. HashMap - code cleanup, use core.internal.hash: bytesHash for strings.

Cachetools is set of cache strategies and containers. Caches and containers are @safe and @nogc (inherits from key and value properties).

Project page: https://github.com/ikod/cachetools
docs: https://ikod.github.io/cachetools/

Some performance test results: https://github.com/ikod/cachetools/tree/master/testhash



Reply via email to