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:
martinsumner 2016-12-11 21:24:04 +00:00
parent 86bdfdeaf0
commit f28c7e02bf

View file

@ -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),