Commit Graph

238 Commits

Author SHA1 Message Date
greg 9c5601db3c fix previous fix 2022-02-28 15:55:12 -05:00
greg 52b2185d8f update previous fix 2022-02-28 15:21:34 -05:00
greg 9db8753361 better feature testing by using language feature macro - issue #132 2022-02-28 15:04:54 -05:00
greg bf2d3fe7a2 fix msvc support for issue #128 when flag /Zc:__cplusplus not specified 2022-02-08 14:10:10 -05:00
greg 7970234626 Fix for issue #128? 2022-02-05 21:39:20 -05:00
greg dab73d4b0e Undo latest change as I have issues building it with g++ 2022-01-31 20:53:22 -05:00
greg 22121fa3ce Fix compilation issue redux2 2022-01-31 18:00:43 -05:00
greg 0bd7be75e7 Fix compilation issue redux 2022-01-31 17:46:36 -05:00
greg 02923b2944 Fix compilation issue. 2022-01-31 17:33:48 -05:00
greg 0672f7d582 Fix compilation issue. 2022-01-31 17:28:25 -05:00
greg ed229ad169 Actual fix for issue #125 2022-01-31 17:19:09 -05:00
greg 7c092b78e3 remove unnecessary references 2022-01-25 08:59:48 -05:00
greg 43c4c86479 support most extended APIs for sets as we do for maps. 2022-01-22 21:15:55 -05:00
greg eaf6471e84 added insert_single API (issue #122) 2022-01-13 21:35:52 -05:00
greg 870e6eb9b5 Add binary dump/load cereal support for flat hash maps - Issue #120 2021-12-26 19:47:45 -05:00
greg 8a18882ca7 Revert "Fix (hopefully) part #2 of issue #117 for non-parallel hash maps"
This reverts commit 3f02d81926.
2021-11-18 22:02:51 -05:00
greg 3f02d81926 Fix (hopefully) part #2 of issue #117 for non-parallel hash maps 2021-11-18 21:47:59 -05:00
greg b0ac9ef70a tentative fix for issue #117 2021-11-18 20:41:45 -05:00
greg 07b740bd99 serialize.cc example doesn't seem to work with cereal #116 2021-11-09 21:32:08 -05:00
greg 52ab7028fd fix CI warnings and issues. 2021-11-07 12:09:17 -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
yanz 24a2418e4b add emplace_with_hash function to phmap::flat_hash_set 2021-09-23 18:34:37 +08:00
Binglin Chang fa18404b0e Add prefetch_hash for parrallel hash map/set 2021-09-07 14:25:00 +08:00
Gregory Popovitch 76139fed1a Merge pull request #107 from AndrewDeanMS/msvc-wchar-t-minus
Add support for msvc flag /Zc:wchar_t-
2021-09-02 20:39:59 -04:00
Andrew Dean 7976ede849 Add support for msvc:/Zc:wchar_t- 2021-09-02 12:19:53 -07:00
greg 8dbd3591de issue #106: make btree_container's size_type unsigned for consistency 2021-09-01 18:26:43 -04:00
greg 9840f782a0 Fix issue #99 2021-05-19 08:04:51 -04:00
Brian McKinnon 1557461428 Performance improvement to if_contains and modify_if. Works with pointers rather than constructing iterators. A test I conducted which heavily uses these functions a ~10% improvement in runtime. 2021-05-12 19:59:02 -05:00
Gregory Popovitch b4efc91e7f use find_as_pair in erase_if_impl as well. 2021-05-08 07:07:50 -04:00
Brian McKinnon 3a0e372bbf Add if_contains_unsafe function that does not lock the parallel hash map mutex
Add find_as_pair function, since make_iterator in find was very expensive.  With an equal number of read and write operations in a sample program, more time was being spent in the read then write.
2021-05-07 21:42:03 -05:00
greg 9def0df26f tentative fix for issue #94 2021-05-05 21:47:45 -04:00
greg 7684faf186 issue #89 2021-04-22 08:31:01 -04:00
byronhe 01d73bec61 fix std::shared_mutex 2021-04-02 01:03:27 +08:00
greg fa18b3207d small cleanup 2021-03-15 18:57:20 -04:00
greg 08c10a02d5 Add erase_if custom API - issue #84 2021-03-15 11:20:49 -04:00
greg 8335afbbb6 Add parallel_hashmap APIs: extended APIs emplace_with_hash and try_emplace_with_hash. - issue #82 2021-03-07 22:15:26 -05:00
greg 118e56fb7f fix couple warnings, use stable version ofg googletest 2021-02-01 21:38:52 -05:00
greg 4a7e130032 cleanup some warnings 2021-02-01 13:59:03 -05:00
greg 2af41f776f rename custom API clearSubmap. 2021-02-01 09:22:10 -05:00
greg 13b37dab61 Add clearSubmap API and make sets_ array protected - issue #81 2021-02-01 08:45:37 -05:00
greg 7bad77f61e Update comment - issue #79 2020-12-28 19:28:45 +00:00
greg d68cdf947c cleanup comments 2020-11-22 22:09:01 -05:00
greg 1c3fb21945 fix compilation issue 2020-10-23 23:25:55 -04:00
greg 6ab2d4f77b cleanup some compilation issues 2020-10-23 22:44:40 -04:00
greg fde389f838 add public hash() function - issue #71 2020-10-23 22:17:16 -04:00
greg 8bc5c5f642 add public hash() function, and contains() taking a precomputed hashval - issue #71 2020-10-23 21:57:54 -04:00
greg c32372b342 make test c++11 compatible 2020-10-18 10:53:29 -04:00
greg fd9d1d2278 Fix compilation error 2020-10-16 22:53:41 -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
Force Charlie cb6702ad5f Fix compile phmap failed in windows-arm64 2020-10-05 11:04:00 +08:00