casync icon indicating copy to clipboard operation
casync copied to clipboard

cachunker: don't scan bytes we can't break on

Open edef1c opened this issue 2 years ago • 0 comments

The first c->chunk_size_min - CA_CHUNKER_WINDOW_SIZE bytes don't contribute to the result, so we don't need to hash them. This improves chunker throughput by about 16% (216 MiB/s -> 250MiB/s) in my benchmarks.

edef1c avatar May 05 '22 23:05 edef1c