mirror of
https://github.com/luxfi/zapdb.git
synced 2026-10-30 15:12:20 +00:00
This commit pulls following changes from ristretto
```
git log c1f00be0418e...8f368f2 --oneline
```
```
8f368f2 (HEAD -> master) Fix DeepSource warnings
adb35f0 delete item immediately
fce5e91 Support nil *Cache values in Clear and Close
4e224f9 Add .travis.yml
8350826 Fix the way metrics are handled for deletions
99d1bbb (tag: v0.0.1) default to 128bit hashing for collision checks
1eea1b1 atomic Get-Delete operation for eviction
8d6a8a7 add cache test for identifying MaxCost overflows
ae09250 use the custom KeyToHash function if one is set
1dd5a4d #19 Fixes memory leak due to Oct 1st regression in processItems
```
(cherry picked from commit 0cef58737f)
22 lines
723 B
AMPL
22 lines
723 B
AMPL
module github.com/dgraph-io/badger/v2
|
|
|
|
go 1.12
|
|
|
|
require (
|
|
github.com/DataDog/zstd v1.4.1
|
|
github.com/cespare/xxhash v1.1.0
|
|
github.com/dgraph-io/ristretto v0.0.2-0.20200115201040-8f368f2f2ab3
|
|
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/golang/protobuf v1.3.1
|
|
github.com/golang/snappy v0.0.1
|
|
github.com/kr/pretty v0.1.0 // indirect
|
|
github.com/pkg/errors v0.8.1
|
|
github.com/spaolacci/murmur3 v1.1.0 // indirect
|
|
github.com/spf13/cobra v0.0.5
|
|
github.com/stretchr/testify v1.4.0
|
|
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
|
|
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb
|
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
|
|
)
|