Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
Description
For optimal disk performance, it makes most sense to choose our compression boundaries based on compressed size, not uncompressed. If our compressors could take a target length, and return the number of source bytes they managed to fit into that space, this would permit us to lower the number of disk accesses per read. blambov: you've dived into LZ4. How tricky do you think this might be?