GC-less, fast and generic LRU hashmap library for Go
APACHE-2.0 License
Published by rockdaboot 8 months ago
Metrics()
and GetMetrics()
to Cache
interfacePublished by rockdaboot 10 months ago
Published by rockdaboot 10 months ago
golangci-lint
(use make lint
)Published by rockdaboot 10 months ago
SyncedLRU
, a thread-safe exact LRU wrapped around LRU
for low concurrency situations.ShardedLRU
, a thread-safe sharded LRU to avoid lock contention for high concurrency situations.Published by rockdaboot over 1 year ago
Rename package go_freelru
to freelru
.
Published by rockdaboot over 1 year ago
Fix a serious issue that broke insert-after-evict in the Add() function.
Published by rockdaboot over 1 year ago
Add Purge() function.
Published by rockdaboot over 1 year ago
Simplify the API for creating new LRU instances.
The Config type has been removed.
Removed DefaultConfig() and NewWithConfig().
The arguments to the New() function have changed.
New functions NewWithSize(), SetLifetime() and SetOnEvict().
Published by rockdaboot over 1 year ago
Add lifetime support
Published by rockdaboot over 1 year ago