DescriptionImplement in-place rehashing of HashTable.
The algorithm puts elements into correct positions in multiple iterations.
On the first iteration it tries to put elements at entries specified by
their first hash probe. On the second iteration -- by the second
hash probe, and so on. Overall it does O(k*n) memory accesses, where
k is the maximum number of probes required for an element and n is the
capacity of the hash table. The expectation is that k will be small.
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=16678
Patch Set 1 : #
Total comments: 1
Patch Set 2 : Comment #Patch Set 3 : Rebase #
Messages
Total messages: 3 (0 generated)
|