Commit Graph

  • 48f4c5fb05 Use std::allocator_traits<T> to avoid deprecation warnings with modern compilers (#301) master Gregory Popovitch 2026-06-10 19:42:32 -04:00
  • 01c838b76a Make begin() to return end() on empty tables. (#297) wind 2026-04-08 13:28:28 +08:00
  • 8442f1c82c Update README.md greg7mdp 2025-12-06 18:39:53 -05:00
  • bed0081382 Replace assert in test with EXPECT_TRUE greg7mdp 2025-11-26 16:58:14 -05:00
  • fa5a89fe79 Fix incorrect code in parallel_node_hash_set emplace. (#293) Gregory Popovitch 2025-11-26 16:06:44 -05:00
  • 4e410c7af3 Fix check for arm32 so umul is used consistently on gcc and clang when building on arm64. (#290) Gregory Popovitch 2025-10-24 09:05:30 -04:00
  • a95befa318 Fix sanitizer issue in test code. greg7mdp 2025-10-20 20:07:48 -04:00
  • 8d29d95536 Download gtest unless PHMAP_DOWNLOAD_GTEST is turned off. greg7mdp 2025-10-15 22:49:31 -04:00
  • 8bd66dc8ed CMakeLists.txt: use external gtest, fallback to fetching the source (#288) Sergey Fedorov 2025-10-16 06:31:01 +08:00
  • 88123934b4 Fix warnings with clang-21 (#284) Gregory Popovitch 2025-09-04 18:30:05 -04:00
  • ec36fa8b96 Merge branch 'master' of github.com:greg7mdp/parallel-hashmap greg7mdp 2025-09-04 18:20:10 -04:00
  • 75196c4dd8 Add comment greg7mdp 2025-09-04 18:19:46 -04:00
  • def20389e8 Fix warnings with clang-20/-Wconversion (#282) Gregory Popovitch 2025-08-16 09:19:23 -04:00
  • d8f53a5947 Fix warnings with clang-20/-Wconversion gh_281 greg7mdp 2025-08-16 09:11:14 -04:00
  • c29681a777 Use UniqueLock in extract() instead of SharedLock. issue #280. greg7mdp 2025-08-06 10:07:58 -04:00
  • b56fe781f1 Merge branch 'master' of github.com:greg7mdp/parallel-hashmap greg7mdp 2025-08-04 11:04:14 -04:00
  • ea305283f3 Tentative fix for issue #280. greg7mdp 2025-08-04 11:02:46 -04:00
  • 0cd57d29a9 Fix cstdlib include in phmap (#278) Wang Han 2025-06-06 00:31:19 +08:00
  • 896f1a03e4 Define umul128 in phmap namespace. (#273) Gregory Popovitch 2025-04-11 10:24:44 -04:00
  • 40780b29bd Fix warnings when using absl::Mutex (#272) Gregory Popovitch 2025-04-11 10:16:33 -04:00
  • 154c63489e Mostly revert "Small performance optimizations." greg7mdp 2025-02-09 09:40:04 -05:00
  • 2b6ef17a53 Small performace optimizations greg7mdp 2025-02-08 20:17:02 -05:00
  • 2ec7990176 Update version number to 2.0.0 v2.0.0 greg7mdp 2025-01-21 10:50:42 -05:00
  • f358021bcc Enhance the flexibility of the BinaryOutputArchive and BinaryInputArchive (#267) tang donghai 2025-01-19 12:10:11 +08:00
  • 2d062fc539 Update .gitignore to ignore emacs desktop files. greg7mdp 2025-01-01 13:40:44 -05:00
  • a4f5730495 Merge branch 'master' of github.com:greg7mdp/parallel-hashmap into readme_update readme_update greg7mdp 2025-01-01 13:35:47 -05:00
  • 640aef361d Fix issue with std::pmr::polymorphic_allocator greg7mdp 2024-12-14 19:14:37 -05:00
  • 0bad0987f1 Update README.md to state differences between phmap and gtl. (#260) Gregory Popovitch 2024-11-02 18:31:02 -04:00
  • 53aa8a800e Update README.md to state differences between phmap and gtl. greg7mdp 2024-11-02 18:29:07 -04:00
  • a6ce0835ca Add preprocessor macro PHMAP_DISABLE_MIX (#259) Gregory Popovitch 2024-11-02 18:06:56 -04:00
  • debe606647 Add support for custom pointers. (#258) Gregory Popovitch 2024-11-02 17:48:08 -04:00
  • 2d0b499273 Fix msvc warning greg7mdp 2024-10-30 08:18:42 -04:00
  • 22a7f6ca72 Update version to 1.4.1 v1.4.1 greg7mdp 2024-10-27 23:45:18 -04:00
  • c9520f1867 Fix issue #255 - Incorrect concurrent increment of value with std::shared_mutex. greg7mdp 2024-10-27 20:39:38 -04:00
  • 4817a6d3b8 Allocate empty group on heap only for std::allocator (#254) Gregory Popovitch 2024-10-19 18:43:55 -04:00
  • feb600c4e7 Support loading pre-1.3.12 phmap_dump files. (#251) Gregory Popovitch 2024-10-05 17:54:30 -04:00
  • 60acfa4690 Update new_release.md greg7mdp 2024-09-20 23:37:59 -04:00
  • be87c4139e Update version to 1.4.0 v1.4.0 greg7mdp 2024-09-20 17:18:43 -04:00
  • 63acc3336f Add CITATION.cff file. greg7mdp 2024-08-23 08:56:17 -04:00
  • 8a889d3699 Merge branch 'master' of github.com:greg7mdp/parallel-hashmap greg7mdp 2024-07-04 14:39:28 -04:00
  • b47d143e1a Rename poorly named get_inner_m. greg7mdp 2024-07-04 14:38:00 -04:00
  • ef10614217 Add get_inner_m greg7mdp 2024-06-30 11:17:42 -04:00
  • db29e68323 add ideas to llil greg7mdp 2024-06-30 11:16:22 -04:00
  • e5b892baed Correct CMake script. Improve C++ language feature selection (#243) scivision 2024-06-25 19:58:33 -04:00
  • d88c5e1507 Link against TBB if available (#242) Dennis Nienhüser 2024-05-26 03:54:24 +02:00
  • e6845fb892 Add missing header for std::setw std::setprecision (#241) Dennis Nienhüser 2024-05-26 03:53:23 +02:00
  • 61a0395ae7 llil.cc - make string_cnt a template. greg7mdp 2024-04-07 20:45:06 -04:00
  • 322ee828b5 llil.cc - wip greg7mdp 2024-04-07 20:06:45 -04:00
  • 7c7ebd594f llil.cc - wip greg7mdp 2024-04-07 19:37:46 -04:00
  • f332852474 llil.cc - wip greg7mdp 2024-04-07 19:18:02 -04:00
  • 6eee4a7108 Add llil.cc - wip greg7mdp 2024-04-07 18:07:18 -04:00
  • 10368163ab examples/llil4map.cc: remove explicit limit to 32 threads for sort. greg7mdp 2024-04-05 09:13:48 -04:00
  • 5f26979baa llil4map example: Add string_cnt type, use a set, and other small updates. greg7mdp 2024-04-05 07:37:25 -04:00
  • 38dd6b5294 Add a couple minor simplifications to llil4map.cc greg7mdp 2024-04-01 08:57:48 -04:00
  • 84d0d48eac Update llilmap script to calculate checksum instead of generating large output file. greg7mdp 2024-04-01 08:11:58 -04:00
  • 55fe94b1c5 minor update for running llil4map example. greg7mdp 2024-03-31 22:49:42 -04:00
  • 29c3091e50 Add map reset to llil4map.cc. greg7mdp 2024-03-31 22:06:55 -04:00
  • 4aa19d6152 Add scripts directory for llilmap4 example. greg7mdp 2024-03-31 18:43:22 -04:00
  • cf27dbcf4b Rename to correct llil4map.cc name greg7mdp 2024-03-31 18:34:50 -04:00
  • effca243e6 re-enable parallel sort in lill4map.cc. greg7mdp 2024-03-31 18:05:01 -04:00
  • 6f5d3ccc0d Add lill4map.cc example. Thank you @marioroy. greg7mdp 2024-03-31 18:03:39 -04:00
  • 7ef2e73341 Minor changes, mostly formatting and avoiding nvcc warnings. greg7mdp 2024-03-16 16:30:31 -04:00
  • 50fa648ae0 Fix nvcc warning about missing return statement (#235) Ali Ghaffaari 2024-03-11 23:21:20 +01:00
  • 67c24619e4 Fix nvcc warnings - issue #229 greg7mdp 2024-02-04 10:18:44 -05:00
  • 65775fa09f Update version to 1.3.12 v1.3.12 greg7mdp 2024-01-28 23:18:32 -05:00
  • 946ebad67a Fix warnings with msvc. (#225) Gregory Popovitch 2023-12-09 12:23:51 -05:00
  • d3f0b986bf tentative fix for #224. greg7mdp 2023-12-09 08:59:03 -05:00
  • 0f0ecf724c implement erase using erase_if_impl (#223) Gregory Popovitch 2023-11-30 10:15:46 -05:00
  • 4c93cf00f2 Remove the Upgrade lock stuff. (#221) Gregory Popovitch 2023-11-29 13:16:09 -05:00
  • 7556c955d4 Add access to the slot in the lazy constructor. There is a specific use case where I want to cache a pointer to the newly created lazy object. If the capacity of the map does not change between the first and second call of my function, then I use the pointer instead of repeating the lookup. (#219) bpmckinnon 2023-11-29 08:15:02 -06:00
  • 9248dcf07e Add support for Windows phmap::srwlock greg7mdp 2023-11-19 18:14:48 -05:00
  • d51c761733 Reduce verbosity with using directives. greg7mdp 2023-11-19 17:38:36 -05:00
  • 4d7b07f526 Support ReadWriteLocks in more parallel map APIs. (#217) Gregory Popovitch 2023-11-19 15:57:03 -05:00
  • 2ee44550e1 Whitespace changes (cleanup) greg7mdp 2023-11-18 23:29:47 -05:00
  • 0046905791 Merge pull request #216 from greg7mdp/try_emplace_fine_locking Gregory Popovitch 2023-11-15 18:30:26 -05:00
  • ff7bd78206 Take care of the case where another thread inserts the same key between unlock()/lock() greg7mdp 2023-11-13 09:48:49 -05:00
  • 21f14d7a8e Add support for read/write locks greg7mdp 2023-11-12 18:49:11 -05:00
  • 401552da80 Merge pull request #211 from bpmckinnon/OptimizeEraseIf Gregory Popovitch 2023-10-19 14:53:20 -04:00
  • 749a283bf3 Optimization for parallel hash map erase_if function. Deals only with inner set iterators to avoid overhead of using parallel map iterators. Silence a constexpr warning in allocator test Brian McKinnon 2023-10-19 13:26:47 -05:00
  • 9f52b30958 Fix incorrect constant in reserve. greg7mdp 2023-10-09 17:24:06 -04:00
  • b6ad902d48 Add reserve in p_bench.cc greg7mdp 2023-10-09 17:15:37 -04:00
  • 7e2b66c2b2 set include_directories only when needed. greg7mdp 2023-10-08 21:03:15 -04:00
  • 623f4c06d9 Add interesting benchmark by @samuelpmish greg7mdp 2023-10-08 20:00:32 -04:00
  • c2fabc9ac0 Merge pull request #209 from jendrikseipp/patch-1 Gregory Popovitch 2023-10-01 17:25:05 -04:00
  • 0412b85b08 Static cast to float after division. Gregory Popovitch 2023-10-01 17:24:20 -04:00
  • b0f117d58e Allow compiling with -Wfloat-conversion Jendrik Seipp 2023-10-01 23:05:30 +02:00
  • a7909d547c Unused variable warning (issue #208) and remove c++17 dependency. greg7mdp 2023-09-29 10:36:21 -04:00
  • 81ca453769 Merge pull request #206 from ecatmur/try-emplace-p Gregory Popovitch 2023-09-11 20:16:37 -04:00
  • 4468822524 Add try_emplace_p extension method Ed Catmur 2023-09-12 00:31:30 +01:00
  • 3362017f22 Fix issue with my previous change for issue #205 greg7mdp 2023-09-03 23:48:09 -04:00
  • 38ded9bba8 Simplify clear() and avoid iterating when values have trivial destructor. greg7mdp 2023-09-02 14:47:18 -04:00
  • df7935aca3 Fix iteration and union display in phmap_lldb.py - issue #204 greg7mdp 2023-07-30 11:32:01 -04:00
  • 77cab8192a Merge pull request #202 from ecatmur/clang-cc17 Gregory Popovitch 2023-06-28 15:47:56 -04:00
  • 2ac0518a81 Fix C++17 detection for clang Ed Catmur 2023-06-28 14:30:07 -05:00
  • 93201da2ba Add hash_bench benchmark for hash functions. greg7mdp 2023-06-25 21:36:38 -04:00
  • 548b7f6629 Update .gitignore greg7mdp 2023-06-25 19:42:10 -04:00
  • f67dadd00a Fix compilation errors with gcc 4.8.5 greg7mdp 2023-06-25 14:48:33 -04:00
  • 292c29dd9d Cleanup some compilation warnings with old gcc compiler. greg7mdp 2023-06-25 14:48:00 -04:00
  • 79cbd2dafd Merge pull request #197 from ilobilo/master Gregory Popovitch 2023-06-11 13:43:33 -04:00
  • b54ef015de remove unnecessary creation of std *_error objects ilobilo 2023-06-11 21:11:32 +04:00