Commit Graph

511 Commits

Author SHA1 Message Date
yanz 24a2418e4b add emplace_with_hash function to phmap::flat_hash_set 2021-09-23 18:34:37 +08:00
Gregory Popovitch 87cbc5ad53 Merge pull request #108 from decster/prefetch-hash
Add prefetch_hash for parrallel hash map/set
2021-09-07 07:28:32 -04: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 1f2671ff0a Update CMakeLists.txt 2021-05-26 07:49:33 -04:00
greg 031d214f2c Fix cmake issue when using phmap as a submodule - issue #100 2021-05-26 07:40:47 -04:00
greg 29fb30f929 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2021-05-19 08:06:00 -04:00
greg 9840f782a0 Fix issue #99 2021-05-19 08:04:51 -04:00
Gregory Popovitch a375755b92 Merge pull request #97 from X-Neon/master
Added a Python script for visualizing the phmap classes with GDB
2021-05-14 16:46:50 -04:00
George Cholerton 98096b87fc Added a Python script for visualizing the phmap classes with GDB 2021-05-14 21:17:41 +01:00
Gregory Popovitch ad6bc70996 Merge pull request #96 from bpmckinnon/master
Performance improvement to if_contains and modify_if.
2021-05-13 10:06:44 -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 d704abced8 Merge pull request #95 from bpmckinnon/master
Add if_contains_unsafe function that does not lock the parallel hash …
2021-05-08 07:47:33 -04: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 f158416ea2 switch to travis-ci.com 2021-05-05 22:09:32 -04:00
greg 9def0df26f tentative fix for issue #94 2021-05-05 21:47:45 -04:00
greg 7684faf186 issue #89 1.33 2021-04-22 08:31:01 -04:00
Gregory Popovitch 50558ca3f7 Merge pull request #88 from byronhe/patch-1
fix bad #endif location preventing use of std::shared_mutex
2021-04-01 13:10:29 -04:00
byronhe 01d73bec61 fix std::shared_mutex 2021-04-02 01:03:27 +08:00
Gregory Popovitch 259323f06f Merge pull request #86 from kkiningh/master
Add background to memory usage equations
2021-03-18 07:58:09 -04:00
Kevin Kiningham 980c1abdf2 Add background to memory usage equations 2021-03-17 21:39:38 -07:00
greg fa18b3207d small cleanup 2021-03-15 18:57:20 -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 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 86d2793596 comment out some builds where googletest fails 2021-02-02 08:16:00 -05:00
greg 5547c122ae switch back to using latest googletest 2021-02-01 21:50:49 -05:00
greg 118e56fb7f fix couple warnings, use stable version ofg googletest 2021-02-01 21:38:52 -05:00
greg 9f6f49a965 cleanup another warning 2021-02-01 14:28:48 -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 e77a448e95 update comment. 2020-11-29 11:18:09 -05:00
greg 95eedc7e82 update example to use more typical defaults. 2020-11-29 11:10:48 -05:00
greg 50cd894196 Add example with default parameters 2020-11-29 09:58:09 -05:00
greg d4d3c5acf9 Add link to Chinese translation 2020-11-23 14:14:38 -05: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 7a96119c37 cleanup compilation warnings with msvc. 2020-10-23 23:01:02 -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 1aee5aa4e2 add reference to new lazy_emplace_l API for parallel containers 2020-10-18 12:02:23 -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