mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-30 15:22:07 +00:00
wip
This commit is contained in:
parent
483d19349e
commit
bcf3ded60a
1 changed files with 1 additions and 4 deletions
|
@ -32,10 +32,7 @@ type bloomFilter struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (bf *bloomFilter) reset() {
|
func (bf *bloomFilter) reset() {
|
||||||
bits := bf.bits
|
clear(bf.bits)
|
||||||
for i := range bits {
|
|
||||||
bits[i] = 0
|
|
||||||
}
|
|
||||||
bf.bits = bits[:0]
|
bf.bits = bits[:0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue