Releases: Tessil/sparse-map
Releases · Tessil/sparse-map
v0.6.2
v0.6.1
v0.6.0
- Rename CMake project name from
tsl_sparse_map
totsl-sparse-map
for coherence with the convention used by most package managers. Thefind_package(tsl-sparse-map)
command must now be used instead of thefind_package(tsl_sparse_map)
. - Set bucket count for default constructed map/set to 0 to avoid any allocation.
- Add support for efficient serialization (#6).
- On Windows, add
tsl-sparse-map.natvis
to the installed files. - Fix CMake >= 3.13 warning on Policy CMP0076 and add quotes to paths.
- Remove
cxx_std_11
fromtarget_compile_features
to avoid a warning with older versions of CMake that don't support it. The warning was given even if thetarget_compile_features
was surrounded in aif(${CMAKE_VERSION} VERSION_GREATER "3.7")
.
v0.5.0
v0.4.0
This release introduce a minor backward incompatibility by moving the headers files.
- Move the header files from
tsl
toinclude/tsl
for more coherence with other C++ libraries. - For CMake users, add an exported target
tsl::sparse_map
to be used withtarget_link_libraries
.
v0.3.0
- Clean-up the buckets marked as deleted when their number is too high.
- Bug correction, when all the buckets are marked as deleted, the insert method loop forever. Correct the exit condition.
- Fix issue #1, when a hash table was full of buckets marked as deleted or containing a value (no free bucket), the find and erase operations would loop forever. Same origin as the problem above.
- Reduce the maximum max_load_factor that can be set to 0.8f instead of 0.9f (and the minimum to 0.1f).
- Bug correction, set a moved hash map/set in a valid state so that it can still be used even after a move (#3).