Remove unnecessary clause
As the intention is to change the way the tiny bloom is called, the unnecessary clause of handling an undefined bloom can be removed.
This commit is contained in:
parent
86bdfdeaf0
commit
f28c7e02bf
1 changed files with 0 additions and 2 deletions
|
@ -47,8 +47,6 @@ enter(Key, Bloom) ->
|
|||
Hash = leveled_codec:magic_hash(Key),
|
||||
enter({hash, Hash}, Bloom).
|
||||
|
||||
check({hash, _Hash}, undefined) ->
|
||||
true;
|
||||
check({hash, Hash}, Bloom) ->
|
||||
{H0, Bit1, Bit2} = split_hash(Hash),
|
||||
Slot = H0 rem dict:size(Bloom),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue