Skip to content

Commit 9dabfcd

Browse files
committed
feedback
1 parent 91a8eb8 commit 9dabfcd

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

benches/fastpfor_benchmark.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@ fn prepare_compressed_data(data: &[u32], block_size: NonZeroU32) -> Vec<u32> {
117117
compressed
118118
}
119119

120-
/// Helper function to decompress data into a pre-allocated buffer.
121-
/// The caller must ensure the buffer is zeroed before the first call if
122-
/// it may contain non-zero data, because exceptions use `|=` patching.
123-
/// When decoding the same data repeatedly (as in benchmarks), the OR
124-
/// is idempotent and re-zeroing is unnecessary.
120+
/// The caller must ensure the buffer has sufficient capacity for the output.
125121
fn decompress_data(codec: &mut FastPFOR, compressed: &[u32], decompressed: &mut [u32]) -> usize {
126122
let mut input_offset = Cursor::new(0);
127123
let mut output_offset = Cursor::new(0);

fuzz/justfile

100644100755
File mode changed.

0 commit comments

Comments
 (0)