| commit | 2718295fe739faa70086b8713a8998842defdd2c | [log] [tgz] |
|---|---|---|
| author | Marcin Kowalczyk <qrczak@google.com> | Wed Jan 21 10:20:30 2026 +0100 |
| committer | qrczak <qrczak@google.com> | Wed Jan 21 10:23:51 2026 +0100 |
| tree | dd92ff6f8b7f4a64267920188a41b0e1c1ba1e79 | |
| parent | f4a86e2748aecfbfa6f4b3fb4b30b9b52a4269ef [diff] |
Use `absl::StringResizeAndOverwrite()` instead of `std::string::resize()` when the string is filled soon. Rename `ResizeStringAmortized()` to `StringResizeAmortized()` for consistency, and add `StringResizeAndOverwriteAmortized()`. Use `absl::AppendCordToString()`, which is now available, instead of a custom `riegeli::cord_internal::AppendCordToString()`. Cosmetics: for `std::string`, replace `&dest[i]` with `dest.data() + i` in remaining places. This relies on C++17. PiperOrigin-RevId: 858971838
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.