Commit Graph

139 Commits

Author SHA1 Message Date
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 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 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
greg 97f4a3c417 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2019-12-09 23:04:35 -05:00
greg 1a9d07831c add conanfile.py, and fix a couple windows warnings. 2019-12-05 17:35:40 -05:00
Maikel van den Hurk 84234a56a6 Use correct C++ versions for comparison 2019-12-05 21:44:33 +01:00
greg 787011e610 fix warning with vs2019 - issue #35 2019-11-07 21:43:37 -05:00
greg 2399d65468 small improvement in std::pair hashing 2019-11-04 07:56:25 -05:00
greg 52ccdcdb71 improve hash value computation for tuples 2019-11-04 07:33:24 -05:00
greg 64f1b82a54 fix issue for using hash_value() as a way to implement hash in a class 2019-11-03 14:45:25 -05:00
greg c472488375 missing typename 2019-11-03 13:52:31 -05:00
greg 34951e817f add missing typename 2019-11-03 13:46:07 -05:00
greg 1de1a98cbd Add default hash for std::pair and std::tuple... slight code reorganization. 2019-11-03 13:42:47 -05:00
greg 6808256b6c Fix issue #2, #include <intrin.h> included too late 2019-10-21 08:21:11 -04:00
greg bf58b839f9 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2019-10-21 08:06:16 -04:00
greg 7a7feb2c69 fix compilation issue on msvc when xhash is included. 2019-10-21 08:06:04 -04:00
myozka a4834da9af phmap.h header; included missing atomic header
Missing header was causing a compilation error in some cases where the parent application including the library does not include `atomic` before including phmap header
2019-10-11 19:24:25 -04:00
greg 289fadc273 fully disanle noinline attribute for intel compiler - issue #30 2019-09-06 23:38:35 -04:00
greg 8f0ccf7371 possible fix for issue #30 2019-09-06 13:52:12 -04:00
greg 43913a33b5 define dump()/load() APIs on;y when using deterministic phmap. 2019-09-02 08:56:28 -04:00
greg 77ef910921 simplify load/dump code. Also don't close the archibe after dump/load, we may need to save multiple hash maps in one archive. 2019-08-25 14:55:46 -04:00
Gregory Popovitch daaed8b1aa Merge pull request #23 from gtarcoder/master
Added dump&&load interface for trivially_copyable types
2019-08-25 09:15:07 -04:00
sunkaicheng 62a1674d94 remove mmap load and dump 2019-08-25 20:47:05 +08:00
sunkaicheng 3653f03683 fix typo 2019-08-25 20:12:14 +08:00
debugman 8fbc1526e1 Merge branch 'master' into mmap 2019-08-25 20:09:01 +08:00
sunkaicheng 34ecd92f63 added mmap load 2019-08-25 19:59:28 +08:00
sunkaicheng 61f1bdb037 use single file to store data for parallel hash 2019-08-23 10:22:41 +08:00
sunkaicheng 0866192922 use single file to store data for parallel hash 2019-08-21 09:09:12 +08:00
sunkaicheng e3c55f9830 support older version cpp compiler to use is_trivially_copyable 2019-08-20 12:21:19 +08:00
sunkaicheng 6ae6e2ee49 only support dump&load is_trivially_copyable types 2019-08-20 00:56:59 +08:00
greg bb885f1a9f throw exception for invalid operator[]() access as standard requires 2019-08-18 15:35:47 -04:00
sunkaicheng ba121d043f added tests 2019-08-18 22:50:47 +08:00
sunkaicheng dd9af7f8a5 refine code 2019-08-18 18:29:46 +08:00
sunkaicheng 5cd20dc4a6 added serialize compare and added parallel dump&load 2019-08-16 10:37:28 +08:00
sunkaicheng 5e5ade8c6e added load&dump interface 2019-08-14 23:09:22 +08:00
greg c4abc895b4 try new idea for removing address sanitizer warning (issue #21) 2019-07-31 16:28:48 -04:00
greg bccf9254d4 Update phmap_bits.h 2019-07-31 12:35:20 -04:00
greg d7db8bf5c7 Update phmap_bits.h 2019-07-31 12:32:16 -04:00
greg e8867a424d fix compilation issue with previous change 2019-07-31 12:26:49 -04:00
greg be8ec975b7 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2019-07-31 12:20:30 -04:00
greg b45a4938ab fix warnings - issue #21 2019-07-31 12:20:28 -04:00
Force Charlie 6c56bb581e Avoid building failures on the Windows platform
When include <Windows.h> `min/max` macro definition conflicts with `std::min/std::max`
2019-07-29 16:35:21 +08:00