LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
BSD 3-Clause "New" or "Revised" License
36.29k
stars
7.8k
forks
source link
question about bloom.cc #1103
Closed
infdahai closed 1 year ago
I learn the source code https://github.com/google/leveldb/blob/main/util/bloom.cc#L40-#L51 .
when
init_size
equals to 0,dst
pushprobes
at pos0
. so the result reflects that[bitpos / 8]
will not be equal to0
. Is that true?emmm, please forgive me if I misunderstood this.