Commit Graph

442 Commits

Author SHA1 Message Date
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
Dheeraj R Reddy 252c83d14a Update README.md
Add c++ tag in the markdown code-snippet for example code.
2020-08-02 15:48:28 +05:30
greg 0c6e8c3208 add reserve() call when inserting lists of values with random access iterators. 2020-07-28 10:44:22 -04:00
greg c818e86a99 update test sample with latest findings. 2020-07-27 17:30:11 -04:00
greg 802e7092eb update example comparing insertion time for sorted and shuffled keys. 2020-07-27 16:32:05 -04:00
greg e77d86e49c replace "container_internal" with the shorter "priv" 2020-07-27 09:14:43 -04:00
greg 0fe48402ec update test program to randomize keys after vector resize. 2020-07-26 21:59:42 -04:00
greg 2fdf7f0787 fix typo incorrect number of submaps 2020-07-26 18:13:09 -04:00
greg d58592390a code cleanup 2020-07-26 18:09:54 -04:00
greg c38ac17e5f Update entropy test program with larger parallel hashmaps 2020-07-26 18:03:09 -04:00
greg efc622c500 issue #53: checkin updated test 2020-07-26 17:39:10 -04:00
greg 01d33e0dbb issue #53: add test suggestes by @fowles 2020-07-26 17:35:55 -04:00
greg 38f4645305 typo in my previous change 2020-07-19 18:26:59 -04:00
greg 31882dc4df appveyor doens't support vs2019 yet 2020-07-19 18:25:23 -04:00
greg b52dfbf8c2 add vs2019 2020-07-19 18:19:40 -04:00
greg 8fa6b6e05d fix typo 2020-07-19 17:57:08 -04:00
greg 37b04503db cleanup some test failures. 2020-07-19 17:51:13 -04:00
greg b47713c2c2 clean up preprocessor directives. 2020-07-19 12:52:52 -04:00
greg 96619cd132 issue #54 2020-07-18 22:14:59 -04:00
greg d02fd308c4 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2020-07-09 14:46:26 -04:00
greg afe1ded1ae Improve subtable selection in parallel_* maps by using higher bits of the key, as suggested by @fowles - issue #53 2020-07-09 14:46:23 -04:00
Gregory Popovitch 25293cefd8 Merge pull request #52 from cemel-jhu/master
Added Absl hash guards #50
2020-05-19 22:15:33 -04:00
madisetti 80e86220ab Added Absl hash guards 2020-05-19 19:21:16 -04:00
Gregory Popovitch 5c908d03bb Merge pull request #49 from bpmckinnon/master
Cleanup deprecation warning for c++17 found in vs2019
1.32
2020-05-03 17:50:37 -04:00
Brian McKinnon 3297b8f8a6 Fixed compiler error due to missed changes 2020-05-03 15:13:33 -05:00
Brian McKinnon 5696a90d63 Merge remote-tracking branch 'remotes/greg7mdp/master' 2020-05-03 14:30:49 -05:00
Gregory Popovitch 1dfba0370d Merge pull request #48 from bpmckinnon/master
Add thread-safe accessors to parallel_hash_map
2020-05-03 14:10:04 -04:00
Brian McKinnon 31de0ceeb8 Fix test warning related to update c++ 17 deprecation 2020-05-03 12:37:47 -05:00
Brian McKinnon 76da9dca62 Fix two warning related to upcoming c++17 deprecations 2020-05-03 12:03:55 -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 fa7a5cc444 Update the documentation to include information about the "if_contains" function 2020-05-02 22:07:51 -05:00
Brian McKinnon 73b0e63445 Fixed enable_if_t is a c++14 feature 2020-05-02 21:39:23 -05:00
Brian McKinnon 3bfc1784ad Fix compiler error for is_invocable is a c++17 feature 2020-05-02 21:23:59 -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