Magic Hash vs phash2
Magic Hash broke Skip List organisation
This commit is contained in:
parent
ccc993383d
commit
1f38bcb328
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ enter(Key, Hash, Value, SkipList) ->
|
|||
leveled_tinybloom:enter({hash, Hash}, Bloom)
|
||||
end,
|
||||
{Bloom0,
|
||||
enter(Key, Value, Hash,
|
||||
enter(Key, Value, erlang:phash2(Key),
|
||||
element(2, SkipList),
|
||||
?SKIP_WIDTH, ?LIST_HEIGHT)}.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue