Commit Graph

314 Commits

Author SHA1 Message Date
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
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
greg 9c6baa6c1c comment out serialize.cc example in CMakeLists as it requires Cereal. 2019-07-27 15:13:53 -04:00
greg 20bcc22b70 Do nothing when calling clear() on empty hash_map. Cereal does call map.clear() when deserializing. Issue #19. 2019-07-27 15:11:58 -04:00
greg 1aeeff1b65 reserve and capacity not matching #18
reserve(), especially for parallel_*_hash_*, was reserving excessive sizes. Now the size is closer to the one requested, even though the "power-of-two" capacity requirement still creates a capacity() greater than what is asked in reserve().
2019-07-25 20:43:58 -04:00
greg 82f48422c0 Update outdated comment 2019-07-25 20:40:41 -04:00
greg 538f6ef31d Update some outdated comments 2019-07-21 20:00:52 -04:00
greg ac4572e26b remove some duplicated code 2019-07-09 23:15:17 -04:00
greg 7c921d7b09 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2019-07-09 23:06:30 -04:00
greg 3b2852805d fix warning 2019-07-09 23:06:27 -04:00
Gregory Popovitch a55b53f810 Merge pull request #15 from fcharlie/master
Expand string types for heterogeneous lookups
2019-07-09 23:02:53 -04:00
Force Charlie c7146f61d0 Expand string types for heterogeneous lookups
In Windows, it's almost impossible to avoid using wchar_t, so
heterogeneous lookups that support std::wstring/std::wstring_view
are pretty good.
2019-07-02 14:46:03 +08:00
greg 2c8470fcce Update README.md 1.23 2019-06-15 20:21:12 -04:00
greg ed32145de8 Update CMakeLists.txt 2019-06-15 20:06:00 -04:00
greg c29ec8c37b fix compilation error 2019-06-15 19:54:11 -04:00
greg 58816906b4 add natvis file 2019-06-15 19:50:43 -04:00
greg 83ee317c07 Update phmap.natvis 2019-06-05 21:26:42 -04:00
greg d2c74cbb91 Update phmap.natvis 2019-06-05 21:19:38 -04:00
greg 0ba4233a65 Create phmap.natvis 2019-06-05 09:31:16 -04:00
greg f84de40fcd update "thread safety" section 2019-05-25 18:52:37 -04:00
greg 39c002d52a std::shared_mutex support #11 2019-05-25 16:01:53 -04:00
greg ced6251124 Merge branch 'master' of https://github.com/greg7mdp/parallel-hashmap 2019-05-24 17:38:15 -04:00
greg b0038888b5 Unreferenced parameter warning (#13) 2019-05-24 17:38:12 -04:00
Gregory Popovitch ec69b129d1 update compiler support info 2019-05-15 09:04:18 -04:00
greg 9b205856e0 Fix Intel compiler issue #9 (compiler does not like CompressedTuple) 2019-05-15 08:59:29 -04:00
greg 9862cf2dcd remove duplicated test config 2019-05-12 19:59:50 -04:00
greg 5ce8509780 Fix build issue with Intel compiler (issue #9) 2019-05-12 19:46:25 -04:00