tang donghai
f358021bcc
Enhance the flexibility of the BinaryOutputArchive and BinaryInputArchive ( #267 )
...
* Refactor BinaryOutputArchive and BinaryInputArchive to use std::ostream and std::istream, allowing for more flexible output/input stream handling
* update code based one the review comment
* format code
2025-01-18 23:10:11 -05:00
Gregory Popovitch
feb600c4e7
Support loading pre-1.3.12 phmap_dump files. ( #251 )
2024-10-05 17:54:30 -04:00
Gregory Popovitch
946ebad67a
Fix warnings with msvc. ( #225 )
...
* Fix warnings with msvc.
* Fix more warnings.
2023-12-09 12:23:51 -05:00
Gregory Popovitch
07e93a8d91
minor change and add comment
2023-05-30 08:22:17 -04:00
tingyu
875d5e48e5
fix: add version to make dump & load compatible with previous files
2023-05-30 14:21:39 +08:00
lisa0916lisa@163.com
8c8550dcb5
fix: add growth_left for dump and load, to fix the bug that when loading from a phmap which has a lot of deleted slots may cause further inserts to hang
2023-05-30 00:09:40 +08:00
greg7mdp
ca9f02fda3
Fix issue #44 - example to dump TriviallyCopyable types doesn't work any
...
more
2022-08-12 20:24:24 -04:00
greg
f7fbefac75
Fix assert triggered by my previous fix - issue #137
2022-04-03 09:55:19 -04:00
greg
a5c9dd3279
Fix issue #137
2022-04-03 09:25:14 -04:00
greg
870e6eb9b5
Add binary dump/load cereal support for flat hash maps - Issue #120
2021-12-26 19:47:45 -05:00
greg
b0ac9ef70a
tentative fix for issue #117
2021-11-18 20:41:45 -05:00
greg
07b740bd99
serialize.cc example doesn't seem to work with cereal #116
2021-11-09 21:32:08 -05:00
greg
e77d86e49c
replace "container_internal" with the shorter "priv"
2020-07-27 09:14:43 -04:00
greg
23e651c2d5
make dump() function const (issue #44 )
2020-03-27 19:30:40 -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
sunkaicheng
62a1674d94
remove mmap load and dump
2019-08-25 20:47:05 +08:00
sunkaicheng
34ecd92f63
added mmap load
2019-08-25 19:59:28 +08:00