Skip to content

Commit

Permalink
todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Sep 29, 2024
1 parent c32065e commit c3fe99b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/segment/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ impl<C: Compressor + Clone> Writer<C> {
hasher.update(&value);
let checksum = hasher.digest();

// TODO: 2.0.0 formalize blob header
// into struct... store uncompressed len as well
// so we can optimize rollover by avoiding
// repeated compression & decompression

// Write header
self.active_writer.write_all(BLOB_HEADER_MAGIC)?;

Expand Down

0 comments on commit c3fe99b

Please sign in to comment.