Commit Graph

83 Commits

Author SHA1 Message Date
Brian McKinnon 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
2023-10-19 13:26:47 -05:00
greg7mdp 3362017f22 Fix issue with my previous change for issue #205 2023-09-03 23:48:09 -04:00
greg7mdp 56a2e5344e remove sizeof checks which differ between windows and linux. 2023-04-30 11:48:50 -04:00
greg7mdp 2e552bb112 remove sizeof checks which differ between windows and linux. 2023-04-30 11:29:59 -04:00
greg7mdp 45edb98cd9 Replace custom CompressedTuple with std::tuple. 2023-04-30 11:00:37 -04:00
greg7mdp d676385fb4 Fix clang-15 warnings 2022-11-19 14:25:19 -05:00
greg7mdp 0e4997324b Update gtest macro in btree_test.cc 2022-09-22 18:50:35 -04:00
greg7mdp f0409c6d05 Fix access of protected member, and add test for templated swap() 2022-09-11 12:16:35 -04:00
greg7mdp d24c47fdce Add with_submap api for parallel maps allowing access to submaps under lock protection 2022-07-25 21:37:43 -04:00
greg7mdp 8650bcc503 Fix compiler warning in btree - issue #156 2022-07-22 10:22:44 -04:00
greg7mdp 01ea8093e6 use ADL lookup for erase_if instead of adding to std (gtl reported issue) 2022-06-25 14:55:26 -04:00
greg d8274d45ab add support for std::erase_if for hash containers - issue #141 2022-05-07 10:12:35 -04:00
greg7mdp d13c5f41b5 Fix issue #134 - compilation error in C++20 mode 2022-03-09 09:50:24 -05:00
greg a094d12854 fix linux build issue? 2022-01-22 21:30:05 -05:00
greg 43c4c86479 support most extended APIs for sets as we do for maps. 2022-01-22 21:15:55 -05:00
greg 6893d3c259 Added emplace_single test for parallel_hash_map 2022-01-14 08:54:06 -05:00
greg eaf6471e84 added insert_single API (issue #122) 2022-01-13 21:35:52 -05:00
greg7mdp bfc064fb72 comment out test that uses undefined API in release 2021-12-26 20:44:43 -05:00
greg 594f5d91a2 Update test because of dump/load name change 2021-12-26 19:55:46 -05:00
greg 52ab7028fd fix CI warnings and issues. 2021-11-07 12:09:17 -05:00
greg e01a5cafe8 Update parallel_hash_map_test.cc 2021-11-07 11:56:58 -05:00
greg 3b5ecf0c2a add for_each extension api for safe keys iteration #113
Thanks @amitma1 for the changes
2021-11-02 16:50:45 -04:00
greg 8dbd3591de issue #106: make btree_container's size_type unsigned for consistency 2021-09-01 18:26:43 -04:00
greg 3ac86cccc7 cleanup tests for extension APIs 2021-03-15 17:41:49 -04:00
greg 75a7da03ab Fix bug in test 2021-03-15 12:24:22 -04:00
greg 08c10a02d5 Add erase_if custom API - issue #84 2021-03-15 11:20:49 -04:00
greg 7a96119c37 cleanup compilation warnings with msvc. 2020-10-23 23:01:02 -04:00
greg 1bacb6782f clean up the test a little bit... I was getting confused. 2020-10-18 11:23:57 -04:00
greg c32372b342 make test c++11 compatible 2020-10-18 10:53:29 -04:00
greg b1f76095bf compilation issue 2020-10-16 23:11:14 -04:00
greg 05c05f53c0 compilation issue 2020-10-16 23:06:39 -04:00
Brian McKinnon 02127f7bec Add lazy_emplace_l which is similar to try_emplace_l
lazy_emplace returns an iterator that is not thread-safe
2020-10-16 20:05:51 -05:00
greg 5a74cb42ff update try_emplace_l so that the lambda is called only when the key was already present - issue #60 2020-08-16 18:44:12 -04:00
greg 0d229b1159 Add new API try_emplace_l (issue #60) 2020-08-16 18:27:20 -04:00
greg 17f9048990 change mutable if_contains to modify_if 2020-08-07 13:10:31 -04:00
greg 7bbf9dc041 issue #60: add non-const if_contains() which can update the mapped_value. 2020-08-07 12:58:43 -04:00
greg e77d86e49c replace "container_internal" with the shorter "priv" 2020-07-27 09:14:43 -04:00
greg 37b04503db cleanup some test failures. 2020-07-19 17:51:13 -04:00
Brian McKinnon 31de0ceeb8 Fix test warning related to update c++ 17 deprecation 2020-05-03 12:37:47 -05:00
Brian McKinnon a1349d2b65 Make a single if_contains function to simplify the interface 2020-05-03 10:32:36 -05:00
Brian McKinnon bf7203b3c8 Renamed the thread-safe "contains" to if_contains.
Add tests to parallel_flat_hash_map_mutex_test
2020-05-02 20:45:46 -05:00
Brian McKinnon 0e723143fa Add "if_contains" to parallel_hash_map so the value does not need to be copied to be read in a thread-safe manner
Add tests for parallel_hash_map thread-safe functions.
2020-05-02 16:47:33 -05:00
greg 2f30618e64 For some reason googletest balks on this? 2020-03-28 14:43:47 -04:00
greg f30643573e try to fix build issue 2020-03-14 15:50:48 -04:00
greg 9191e51500 enable warning level for for tests (msvc) and cleanup some warnings. 2020-01-01 13:56:35 -05:00
greg 7a39f4d31c minor changes in examples 2020-01-01 12:56:26 -05:00
greg 1d5651cffe cleanup some warnings 2019-12-31 12:29:45 -05:00
greg c15bac0dec fix compilation issue with btree tests 2019-12-30 14:53:03 -05:00
greg 37f42d1f22 indentation and license update 2019-12-30 13:50:16 -05:00
greg 48144bc7f8 Add tests for btree and fix a couple issues. 2019-12-30 13:42:48 -05:00