Releases: mgnsk/evcache
Releases · mgnsk/evcache
v4.0.1
v4.0.0
v3.1.14
Full Changelog: v3.1.13...v3.1.14
- Internal cleanup of record initialization logic.
v3.1.13
Full Changelog: v3.1.12...v3.1.13
- backend: Use non-atomic bool for record initialized state since this is always accessed while holding a lock anyway.
- Drop ginkgo dependency. The cache now has no external dependencies, except for
github.com/mgnsk/ringlist
which itself has no dependencies.
v3.1.12
v3.1.11
Full Changelog: v3.1.10...v3.1.11
- Functionally same as previous release; implements proper test for infinite capacity cache shrink realloc.
v3.1.10
Full Changelog: v3.1.9...v3.1.10
- Reallocate map when cache capacity is 0, size exceeds 100000 and then shrinks to half of the largest size.
- Specify more verbose internal API that improves record lifecycle logic.
v3.1.9
Full Changelog: v3.1.8...v3.1.9
- Optimize overflow cleanup
v3.1.8
Full Changelog: v3.1.7...v3.1.8
Memory optimizations
- Use upgraded
github.com/mgnsk/list
package that uses optimized struct layout for the element type.
v3.1.7
Full Changelog: v3.1.6...v3.1.7
- Upgrade list package to latest.
- Uses
*list.Element[record[V]]
as the main type. This allows the record type to drop list-specific implementations.