mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 15:16:42 +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() {
|
||||
bits := bf.bits
|
||||
for i := range bits {
|
||||
bits[i] = 0
|
||||
}
|
||||
clear(bf.bits)
|
||||
bf.bits = bits[:0]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue