Commit Graph

398 Commits

Author SHA1 Message Date
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 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
Brian McKinnon 131a84f6ed Fix compiler error on clang/gcc 2020-05-02 18:25:02 -05:00
Brian McKinnon adc918235e Add missing const 2020-05-02 17:09:10 -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
Brian McKinnon 13853156fc Add "contains" function to parallel_hash_map that also returns the value is a thread-safe manner
Fixed a bug in the call to lazy_emplace
2020-05-01 20:27:22 -05:00
greg 882162cc2a Rename template parameter name Bool which conflicts with X11 headers 1.31 2020-03-29 08:28:37 -04:00
greg 9f64feed0c fix compilation issue with string_view 2020-03-28 17:46:47 -04:00
greg 2f30618e64 For some reason googletest balks on this? 2020-03-28 14:43:47 -04:00
greg 1a0fdbf3f3 set visual studio flags to accurately report and use latest c++ features. 2020-03-28 14:24:22 -04:00
greg 5542475554 remove alignment directive which provides very minimal (if any) speed bump 2020-03-28 11:58:32 -04:00
greg f8ffdc9d8c Add example demonstrating saving nested hashmaps to binary file. 2020-03-27 21:52:47 -04:00
greg b791e794ac rename function name which conflicts with a #define macro from /usr/include/X11/Xos.h 2020-03-27 19:35:00 -04:00
greg 23e651c2d5 make dump() function const (issue #44) 2020-03-27 19:30:40 -04:00
greg 5ba0c2d619 Update phmap.h 2020-03-14 19:32:27 -04:00
greg a9e4a37b1a Update phmap.h 2020-03-14 16:00:11 -04:00
greg f30643573e try to fix build issue 2020-03-14 15:50:48 -04:00
greg 7bffc3a5f1 issue #42 2020-03-14 13:46:59 -04:00
greg 13b34337ee update doc issue #40 2020-03-02 11:34:51 -05:00
greg 43a6269663 Update index.html 2020-03-02 11:33:03 -05:00
greg aa9b3f197f fix documentation issue: #40 2020-03-02 11:29:15 -05:00
greg 942403f0db remove #include <functional> from phmap_fwd_decl.h 2020-01-03 14:19:55 -05:00
greg c0a33e39cd Clarify origin of btree containers. 2020-01-02 09:01:45 -05:00
greg 9191e51500 enable warning level for for tests (msvc) and cleanup some warnings. 1.30 2020-01-01 13:56:35 -05:00
greg e4dc9c59a8 couple of minor clarifications. 2020-01-01 12:56:53 -05:00
greg 7a39f4d31c minor changes in examples 2020-01-01 12:56:26 -05:00
greg e867a03e00 update btree example to demonstrate forward declaration. 2019-12-31 17:58:37 -05:00
greg 6324b34ad4 Update btree support description in readme 2019-12-31 17:41:42 -05:00
greg d6753feed0 Allow forward declaration for btree containers 2019-12-31 17:40:06 -05:00
greg 4e1a5a2699 Add more btree info. 2019-12-31 17:20:38 -05:00
greg a5c0e645b9 Update README.md to mention btree support 2019-12-31 17:04:18 -05:00
greg de78c4229e disable another msvc /Wall warning in phmap_base.h 2019-12-31 14:56:21 -05:00
greg 1ae11ca382 cleanup warnings up to /w4 for msvc in btree.h 2019-12-31 14:50:08 -05:00
greg 5e40c675e1 increase warning level in examples, and suppress two more warnings for msvc 2019-12-31 14:21:24 -05:00
greg 787e16a4f4 cleanup a couple more warnings when building in release 2019-12-31 13:31:20 -05:00
greg fd2f93683c cleanup more warnings with MSVC 2019-12-31 13:26:03 -05:00
greg 1d5651cffe cleanup some warnings 2019-12-31 12:29:45 -05:00
greg 62f2c9ed97 disable a couple warnings that cause issues with tests and older compilers 2019-12-30 19:50:38 -05:00
greg 1e04e3f816 disable warnings when building btree_test.cc 2019-12-30 19:40:20 -05:00
greg 4ae6903f13 cleanup some warnings in btree_test.cc 2019-12-30 19:19:11 -05:00
greg c15bac0dec fix compilation issue with btree tests 2019-12-30 14:53:03 -05:00
greg 6391a28fa3 cleanup duplicate definitions 2019-12-30 13:58:44 -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
greg 3c5aba629c reorganize headers and start adding btree support 2019-12-28 22:09:25 -05:00
greg 329922436e issue #37 - string_view supported when _MSVC_LANG == 201703L 2019-12-10 08:05:05 -05:00