diff options
| author | 2026-06-09 03:05:45 +0000 | |
|---|---|---|
| committer | 2026-06-09 05:07:02 +0000 | |
| commit | 3dd2d95b8347b2b0572a5ad90cbb7c1c84e9a07a (patch) | |
| tree | 144a3e94bd4a03097bfb29741be1028d1740422b /internal/clock/doc.go | |
| parent | internal/mru: Fewer files (diff) | |
| signature | No signature | |
internal/lru: Add sharded CLOCK
Diffstat (limited to 'internal/clock/doc.go')
| -rw-r--r-- | internal/clock/doc.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/clock/doc.go b/internal/clock/doc.go new file mode 100644 index 00000000..6f28805b --- /dev/null +++ b/internal/clock/doc.go @@ -0,0 +1,9 @@ +// Package clock provides a concurrent, weight-bounded object cache. +// +// The cache is sharded by key, +// and each shard owns an independent fraction of the total budget. +// An entry heavier than that per-shard fraction is never admitted, +// so callers should keep the total budget well above the largest value. +// +// Labels: MT-Safe. +package clock |
