Skip to content
Snippets Groups Projects
Commit 05de320f authored by ale's avatar ale
Browse files

Bigger bloom filter speeds up the LargeAggregate bench

parent 74f9f047
Branches
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ func Open(path string) (*DB, error) {
opts := &opt.Options{
BlockCacheCapacity: 64 * opt.MiB,
WriteBuffer: 64 * opt.MiB,
Filter: filter.NewBloomFilter(10),
Filter: filter.NewBloomFilter(12),
}
db, err := leveldb.OpenFile(path, opts)
if errors.IsCorrupted(err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment