Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
squashfs: cache the last block decompressed in the file for 10x speedup
Before this change, we would spend an awful lot of CPU time reading and decompressing the same block to only read a small part from it. This change caches the last block used in the file handle and for typical block sizes used in reads this makes a 10x difference in throughput.
- Loading branch information