Commit Graph

475 Commits

Author SHA1 Message Date
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
greg b1f76095bf compilation issue 2020-10-16 23:11:14 -04:00
greg 05c05f53c0 compilation issue 2020-10-16 23:06:39 -04:00
greg fd9d1d2278 Fix compilation error 2020-10-16 22:53:41 -04:00
Gregory Popovitch 63db8f5751 Merge pull request #70 from bpmckinnon/master
Add lazy_emplace_l which is similar to try_emplace_l
2020-10-16 22:39:51 -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
Gregory Popovitch f15998ac30 Merge pull request #69 from fcharlie/fix_compile_windows_arm64
Fix compile phmap failed in windows-arm64
2020-10-05 07:10:27 -04:00
Force Charlie cb6702ad5f Fix compile phmap failed in windows-arm64 2020-10-05 11:04:00 +08:00
greg 72beffb140 issue #65 - fix linux compilation issue 2020-10-02 15:05:18 -04:00
greg b004de56a9 issue #65 - small cleanup in previous checkin - remove useless typename keyword 2020-10-02 14:46:19 -04:00
greg 7c346be97b issue #65 - Fix Intel compiler warning 2020-10-02 14:44:51 -04:00
greg 1120316af3 issue #68 - added support for prefetch in MSVC 2020-10-02 14:35:08 -04:00
greg c4121f9ef5 issue #67 2020-10-02 14:12:00 -04:00
greg 222223f6ec Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2020-10-02 14:10:21 -04:00
greg b44f781829 Revert "issue #67"
This reverts commit 535ea23741.
2020-10-02 14:09:44 -04:00
greg 535ea23741 issue #67 2020-10-02 14:08:27 -04:00
Gregory Popovitch c2d09ea1de Merge pull request #63 from sweinst/lldb-support
lldb support (python summarization for phmap hash maps for visualization in debugger)
2020-09-01 10:34:01 -04:00
Serge Weinstock a341a84ad1 Fixed file naming 2020-08-31 22:35:03 +01:00
Serge Weinstock 3db9f987b5 Added a python script for visualizing the phmap classes with lldb 2020-08-31 22:32:41 +01:00
Serge Weinstock 3b78a8ae20 Added a python script for visualizing the phmap classes with lldb 2020-08-31 19:42:04 +01:00
greg c8a0e5a2b8 add support for bidirectional iterators on non-parallel hashmaps - issue #58 2020-08-16 21:49:26 -04:00
greg d8ee7f5901 Update section on custom APIs for parallel hashmaps. 2020-08-16 20:29:48 -04: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 16a5e67b33 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2020-08-10 00:33:12 -04:00
Gregory Popovitch 451786332d Merge pull request #61 from ColinGaudreau/master
Added `modify_if` method
2020-08-10 00:32:25 -04:00
Colin Gaudreau edc886bcda Fixed accidental typo. 2020-08-09 21:51:07 -05:00
Colin Gaudreau 9baa437c3f Fixed merge with upstream to work on gcc 2020-08-09 21:48:07 -05:00
Colin Gaudreau c28f03be22 Merged with upstream repo. 2020-08-09 20:59:33 -05:00
Colin Gaudreau f6337521ab Added modify_if method
- Added method to safely modify a value in a map using
  the UniqueLock.
2020-08-07 13:08:45 -05:00
greg af5f5c6372 cleanup whitespace 2020-08-07 13:14:15 -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 73c80e4142 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2020-08-07 12:35:23 -04:00
greg 1904f5c886 document that dump() works only for flat hash maps - issue #59 2020-08-07 12:35:21 -04:00
greg 339871041a cleanup some duplicated headers 2020-08-07 12:33:23 -04:00
Gregory Popovitch 83d192ff71 Merge pull request #57 from Squadrick/patch-1
Update README.md
2020-08-02 10:06:52 -04:00