Stop sort
sort probably doesn’t help
This commit is contained in:
parent
70c6e52fa7
commit
fba70edc94
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