otter icon indicating copy to clipboard operation
otter copied to clipboard

A high performance cache for Go

Results 13 otter issues
Sort by recently updated
recently updated
newest added

# Clarification and motivation I want to configure new instances of Cache using the functional options pattern instead of chained methods. ```Go cache, err := NewWithOptions( otter.WithDeletionListener(func(key string, value string,...

enhancement

## Description It seems that DeletionListener doesn't always trigger for the explicit deletion scenario (through the Delete(key) function). While it seems like a bug, it could be me not using...

bug

I wrote a demo for otter, and its results puzzled me. Otter uses the S3 FIFO eviction strategy, which works as shown in the following gif: ![s3fifo_diagram](https://github.com/maypok86/otter/assets/27605589/5807c480-5499-459e-b518-c93901291145) But in my...