Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: Tessil/hopscotch-map

v2.3.1

25 Jun 10:10
Compare
Choose a tag to compare
Loading
  • When using C++17,std::launder the reinterpreted pointer fromstd::aligned_storage to adapt to the change of object model introduced in P0137R1. Fix potential undefined behaviour.
  • When exceptions are disabled, only print the error message to stderr whenTSL_DEBUG is defined instead ofNDEBUG
  • Fix compatibility withstd::pmr allocators
Assets2
Loading

v2.3.0

22 Jun 05:08
Compare
Choose a tag to compare
Loading
  • Fix issue#26, raise the maximum possible size of the hash table when using theprime_growth_policy on a 64-bit platform.
  • Fix issue#31, whenmin_load_factor() > 0, theclear() method will also reset thebucket_count of the hash table to 0.
  • Fix shrink whenmin_load_factor is set and a range erase withend() aslast is called. Them_try_skrink_on_next_insert was not correctly set.
  • Fix issue#33, the value function of aconst iterator can now be called and returns a mutable reference to the underlyingvalue_type.
Loading

v2.2.1

17 Feb 19:30
b7529df
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
  • Fix compilation error with GCC 9, the implicit copy/move constructor/operator of the iterator were not generated.
Loading

v2.2.0

26 Jan 09:46
Compare
Choose a tag to compare
Loading
  • Rename CMake project name fromtsl_hopscotch_map totsl-hopscotch-map for coherence with the convention used by most package managers. Thefind_package(tsl-hopscotch-map) command must now be used instead of thefind_package(tsl_hopscotch_map).
  • Set bucket count for default constructed map/set to 0 to avoid any allocation.
  • On Windows, addtsl-hopscotch-map.natvis to the installed files.
  • Fix CMake >= 3.13 warning on Policy CMP0076 and add quotes to paths.
  • Removecxx_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").
Loading

v2.1.0

03 Nov 15:13
Compare
Choose a tag to compare
Loading
  • Add installation rules in the CMake of the project.
  • Add MSVC debugger visualization.natvis file.
  • Fix issue#41 inmax_size() function resulting in compilation error. The variablebucket_hash::hash_type doesn't exist anymore due to previous refactoring. Remove thehopscotch_bucket::max_size as this is now obsolete.
Loading

v2.0.1

30 Jul 20:02
Compare
Choose a tag to compare
Loading
  • In CMakeList.txt, only use cxx_std_11 in target_compile_features when the CMake version is >= 3.8 (#37).
  • Move thestatic_assert checking thatvalue_type is nothrow move constructible or copy constructible inside the constructor to avoid issues whenKey and/orT are not commplete types (#36).
Loading

v2.0.0

01 Jul 10:34
Compare
Choose a tag to compare
Loading

General overhaul of the library introducing minor backward incompatibilities.

  • Move the header files fromsrc toinclude/tsl for more coherence with other C++ libraries.
  • For CMake users, add an exported targettsl::hopscotch_map to be used withtarget_link_libraries.
  • Move growth policies from thetsl namespace to thetsl::hh namespace.
  • AddGrowthFactor template parameter totsl::hh::power_of_two_growth_policy.
  • Renamehopscotch_sc_map tobhopscotch_map andhopscotch_sc_set tobhopscotch_set.
  • Check that themax_load_factor passed in parameter is between 0.1 and 0.95.
Loading

v1.5.0

27 May 11:12
b08a0d6
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
  • Correct issue#31, a movedtsl::hopscotch_map ortsl::hopscotch_set can now still be used after a move. Previously the map ended up in a invalid state after a move but the standard mandates that a moved object should be in a valid (but unspecified) state so that it can still be used after a move.
  • When a hash map or set with a bucket count of 0 is instantiated, no memory will be allocated.
  • Additerator mutable_iterator(const_iterator pos) method to convert a const iterator to a mutable iterator.
  • Add avoid clear() noexcept method to growth policies classes. If you use a customGrowthPolicy check the interface update.
Loading

v1.4.0

29 Jul 17:12
Compare
Choose a tag to compare
Loading
  • Additerator mutable_iterator(const_iterator pos) method.
  • Add erase method taking a precalculated hash in parameter similar to lookup functions.
  • Reduce default max load factor to 0.9.
  • Add mandatorymax_bucket_count() method toGrowthPolicy to take into account the possible limitations of the growth policy.
  • Fix the number of reserved buckets on range insert (i.e.void insert(InputIt first, InputIt last)). The amount was too low.
Loading

v1.3.3

16 Jul 11:07
Compare
Choose a tag to compare
Loading
  • Critical bug correction (#27), on rehash some elements were lost in the overflow list in some corner cases.
  • Use std::uint_least* instead of std::uint* for better portability.
Loading
Previous13
Previous

[8]ページ先頭

©2009-2025 Movatter.jp