339 Commits

Author SHA1 Message Date
greg c472488375 missing typename 1.25 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 54665f80f4 Create FUNDING.yml 2019-11-02 20:39:34 -04: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
Gregory Popovitch 2fb498934c Merge pull request #33 from myozka/myozka-patch-1
phmap.h header; included missing `atomic` header
2019-10-12 08:37:01 -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 8834c9d624 simplify serialize.cc, add it to the examples in CMakeLists.txt 2019-09-08 11:12:12 -04:00
greg 289fadc273 fully disanle noinline attribute for intel compiler - issue #30 1.24 2019-09-06 23:38:35 -04:00
greg 8f0ccf7371 possible fix for issue #30 2019-09-06 13:52:12 -04:00
greg b5548f6582 Update README.md 2019-09-05 09:38:19 -04:00
greg 0da6216831 Update README.md 2019-09-05 09:37:23 -04:00
greg 5ec0bbe48f Document dump/load feature 2019-09-05 09:15:08 -04:00
greg afd9d4af11 Update README.md 2019-09-05 09:06:25 -04:00
greg c6e54f3a4a Update serialize.cc 2019-09-02 08:57:45 -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
greg 2ff7c0fce7 cleanup example and test program. bracket load/dump calls so that file is closed. 2019-08-25 10:22:44 -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 37794ee20b Merge pull request #2 from gtarcoder/mmap
Mmap
2019-08-25 20:09:36 +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
sunkaicheng 21c032c9a5 added tests 2019-08-20 00:54:20 +08:00
greg f9fbdfd0db Update .gitignore 2019-08-18 15:39:33 -04:00
greg 2d5709e163 Update serialize.cc 2019-08-18 15:39:18 -04:00
greg bb885f1a9f throw exception for invalid operator[]() access as standard requires 2019-08-18 15:35:47 -04:00
greg 58071dda78 couple fixes in tests 2019-08-18 15:32:20 -04:00
sunkaicheng ba121d043f added tests 2019-08-18 22:50:47 +08:00
debugman 18614d316d Merge pull request #1 from gtarcoder/archive
refine code
2019-08-18 18:32:13 +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 da55a69dfa refine test 2019-08-14 23:28:33 +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
Gregory Popovitch 68e4986a71 Merge pull request #20 from fcharlie/avoid_compile_failed_std_min
Avoid building failures on the Windows platform
2019-07-29 07:32:20 -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
greg 3c16c3aef6 Update serialize.cc 2019-07-27 15:24:24 -04:00