Closed Tessil closed 5 years ago
This PR adds two new methods
template<class Serializer> void serialize(Serializer& serializer) const;
template<class Deserializer> static ordered_map/set deserialize(Deserializer& deserializer, bool hash_compatible = false);
to tsl::ordered_map/set.
tsl::ordered_map/set
They take advantage of the internals of the data structure to provide an efficient way to serialize/deserialize the structure when hash_compatible = true.
hash_compatible = true
Fix feature request #24.
This PR adds two new methods
template<class Serializer> void serialize(Serializer& serializer) const;
template<class Deserializer> static ordered_map/set deserialize(Deserializer& deserializer, bool hash_compatible = false);
to
tsl::ordered_map/set
.They take advantage of the internals of the data structure to provide an efficient way to serialize/deserialize the structure when
hash_compatible = true
.Fix feature request #24.