diff options
author | Eric Anholt <eric@anholt.net> | 2009-11-24 03:02:38 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-23 18:09:46 -0800 |
commit | 7c7d3e26da0e9e49c3b179403a7b9217d4e9cb18 (patch) | |
tree | 4c0b6646391916c91fa49cf7459857f6da99f753 /README | |
parent | 1af977924e845bc67db0bb6f3a1b54080841a685 (diff) |
Add deleted entry management by rehashing on insert when appropriate.
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,8 +37,8 @@ Performance considerations: This means that a table that was filled, then emptied, will have performance for unsuccessful searches in O(hash->size) - The solution here is to decide when the table is too full of deleted - entries and recompute the data into a clean version of the hashtable. + This is worked around in practice by later inserts into a hash table + with many deletes in it triggering a rehash at the current size. * The data pointer increases space consumption for the hash table by around 50% |