This PR adds two new methods template<class Serializer> void serialize(Serializer& serializer) const; and template<class Deserializer> static array_map deserialize(Deserializer& deserializer, bool hash_compatible = false); to tsl::htrie_map/set.
They take advantage of the internals of the data structure to provide an efficient way to serialize/deserialize the structure.
This PR adds two new methods
template<class Serializer> void serialize(Serializer& serializer) const;
andtemplate<class Deserializer> static array_map deserialize(Deserializer& deserializer, bool hash_compatible = false);
totsl::htrie_map/set
.They take advantage of the internals of the data structure to provide an efficient way to serialize/deserialize the structure.