Merge branch 'mas-altsst' of https://github.com/martinsumner/eleveleddb into mas-altsst
This commit is contained in:
commit
6ab9f72d8c
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ enter({hash, Hash}, Bloom) ->
|
||||||
fun(Bit, Arr) -> add_to_array(Bit, Arr, 1024) end,
|
fun(Bit, Arr) -> add_to_array(Bit, Arr, 1024) end,
|
||||||
SplitArray1 = lists:foldl(FoldFun,
|
SplitArray1 = lists:foldl(FoldFun,
|
||||||
SplitArray0,
|
SplitArray0,
|
||||||
lists:usort([Bit1, Bit2, Bit3])),
|
[Bit1, Bit2, Bit3]),
|
||||||
dict:store(Slot, <<Pre/binary, SplitArray1/binary, Post/binary>>, Bloom);
|
dict:store(Slot, <<Pre/binary, SplitArray1/binary, Post/binary>>, Bloom);
|
||||||
enter(Key, Bloom) ->
|
enter(Key, Bloom) ->
|
||||||
Hash = leveled_codec:magic_hash(Key),
|
Hash = leveled_codec:magic_hash(Key),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue