Allow overriding the default `HybridDirectTraits` for the given `Key` type by defining a free function `friend RawKey RiegeliHybridDirectToRawKey(Key key)`, and optionally also `friend Key RiegeliHybridDirectFromRawKey(RawKey raw_key, Key*)`. This avoids having to explicitly specify the traits each time a `HybridDirectMap` with that key type is used. Also, change `expected_min_key` type from `Key` to `auto`. This allows to define `RiegeliHybridDirectToRawKey()` for key types which are not suitable as a non-type template parameter. PiperOrigin-RevId: 895726185
Riegeli/records is a file format for storing a sequence of string records, typically serialized protocol buffers. It supports dense compression, fast decoding, seeking, detection and optional skipping of data corruption, filtering of proto message fields for even faster decoding, and parallel encoding.
See documentation.
Riegeli file format will only change in a backward compatible way (i.e. future readers will understand current files, but current readers might not understand files using future features).
Riegeli C++ API might change in incompatible ways.