-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store maximum probe length in OrderedDicts
* When sorting an OrderedDict, it's possible that the probe length will exceed the maximum probe length previously defined. To prevent this, store and use the maximum probe length (and let it grow beyond the previously fixed length if needed). * Also now reuses deleted slots instead of skipping them. Previously, deleted slots were not reclaimed until the dictionary was rehashed.
- Loading branch information
Showing
2 changed files
with
63 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters