Commit Graph

80 Commits

Author SHA1 Message Date
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 9191e51500 enable warning level for for tests (msvc) and cleanup some warnings. 2020-01-01 13:56:35 -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 3c5aba629c reorganize headers and start adding btree support 2019-12-28 22:09:25 -05:00
greg 1a9d07831c add conanfile.py, and fix a couple windows warnings. 2019-12-05 17:35:40 -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 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 43913a33b5 define dump()/load() APIs on;y when using deterministic phmap. 2019-09-02 08:56:28 -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 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 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
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 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
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 5ce8509780 Fix build issue with Intel compiler (issue #9) 2019-05-12 19:46:25 -04:00
greg 2f49b79885 Fix build issue with Intel compiler (issue #9) 2019-05-12 19:30:36 -04:00
greg d516003350 Fix build issue with Intel compiler (issue #9) 2019-05-12 19:04:16 -04:00
greg 8aa960332d Fix build issue with Intel compiler (issue #9) 2019-05-12 18:59:57 -04:00
greg 6f772f0b00 Revert "Fix build issue with Intel compiler (issue #9)"
This reverts commit 2585ec964a.
2019-05-12 18:30:06 -04:00
greg 2585ec964a Fix build issue with Intel compiler (issue #9) 2019-05-12 17:45:40 -04:00
greg 27f872121b try fix for icc error " Error #3466 inheriting constructors must be inherited from a direct base class" 2019-05-10 20:35:54 -04:00
greg 470f0644c0 cleanup a couple of headers included twice 2019-04-29 22:20:27 -04:00
greg 3fb4990579 reorganize headers so that phmap_fwd_decl.h is more usable 2019-04-29 22:01:08 -04:00