File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,17 @@ defmodule HashDict do
1717 # per bucket. We use bit shifting to make rehashing faster on
1818 # expansion.
1919 #
20- # However, compared to dict, it provides many enhancements:
20+ # Compared to dict, it provides many enhancements:
2121 #
2222 # 1. HashDict buckets are ordered sets, this gives us faster access
2323 # and modification times
2424 #
2525 # 2. It uses phash2 to calculate the hash (instead of phash)
2626 #
2727 # 3. The dictionary first starts with a single bucket, instead of
28- # a set of buckets with 16 buckets. This allow us to skip hashing
29- # altogher for small dictionaries, providing faster operations
30- # and reducing memory consumption
28+ # a set of 8 buckets. This allow us to skip hashing altogher
29+ # for small dictionaries, providing faster operations and
30+ # reducing memory consumption
3131 #
3232 # 4. Once we reach 8 elements, the dictionary is promoted to a
3333 # set of buckets
You can’t perform that action at this time.
0 commit comments