diff options
author | Marc Pervaz Boocha <marcpervaz@qburst.com> | 2025-02-24 10:37:50 +0530 |
---|---|---|
committer | Marc Pervaz Boocha <marcpervaz@qburst.com> | 2025-02-27 13:37:32 +0530 |
commit | a35f42bc2e4c29a1583fbc8900c14ec0ce5533d2 (patch) | |
tree | 5af6a2854644ac3dc44acdc9d604fa0eb576f120 /encoding_test.go | |
parent | Added LTR Eviction (diff) | |
download | cache-a35f42bc2e4c29a1583fbc8900c14ec0ce5533d2.tar cache-a35f42bc2e4c29a1583fbc8900c14ec0ce5533d2.tar.gz cache-a35f42bc2e4c29a1583fbc8900c14ec0ce5533d2.tar.bz2 cache-a35f42bc2e4c29a1583fbc8900c14ec0ce5533d2.tar.lz cache-a35f42bc2e4c29a1583fbc8900c14ec0ce5533d2.tar.xz cache-a35f42bc2e4c29a1583fbc8900c14ec0ce5533d2.tar.zst cache-a35f42bc2e4c29a1583fbc8900c14ec0ce5533d2.zip |
Added examples and documentation
Diffstat (limited to '')
-rw-r--r-- | encoding_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding_test.go b/encoding_test.go index 6ca50cb..5fc4c9a 100644 --- a/encoding_test.go +++ b/encoding_test.go @@ -288,7 +288,7 @@ func BenchmarkDecoder_DecodeStore(b *testing.B) { for n := 1; n <= 10000; n *= 10 { b.Run(fmt.Sprint(n), func(b *testing.B) { want := setupTestStore(b) - for i := range 100 { + for i := range n { buf := make([]byte, 8) binary.LittleEndian.PutUint64(buf, uint64(i)) want.Set(buf, buf, 0) |