Skip to content

Commit cd6f939

Browse files
authored
Update README with new hash functions for large objects
Added hdr::hash_grow_map_heavy and hdr::hash_grow_set_heavy for better memory usage and iteration speed.
1 parent 8652a36 commit cd6f939

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Fast C++ flat (open addressing) hash set/map header only library. Requred C++11
44
Drop in replacement (mostly, references invaildated if reallocation happens, allocator-type is absent) implementation of unordered hash-set and hash-map.
55
Default hash-functions use actual 32-bits hash-value, makes sense to use if amount of elements less than UINT_MAX/2 for good distribution. In other case - should be used 64-bits result hash-function (hash_set1.hpp supports full range of size_t).
66

7+
hdr::hash_grow_map_heavy and hdr::hash_grow_set_heavy added for big (sizeof) objects to minimize memory usage and improve iteration speed.
8+
79

810
EXAMPLES
911

0 commit comments

Comments
 (0)