As used in lookup - will always be hash

This commit is contained in:
Martin Sumner 2017-11-28 22:13:18 +00:00
parent 676879a335
commit 41c308c5fd

View file

@ -1495,9 +1495,7 @@ extra_hash(NotHash) ->
NotHash.
cache_hash({_SegHash, ExtraHash}) when is_integer(ExtraHash) ->
ExtraHash band (?CACHE_SIZE - 1);
cache_hash(_NotHash) ->
0.
ExtraHash band (?CACHE_SIZE - 1).
tune_hash(SegHash) ->
SegHash band 32767.