2 ms·
Yeah, then stop burying yourself with Apple devices. Anyways, it makes sense to maintain something like an LRU cache, and compress only the least used things.
by ssivark 7y ago
Yeah, then stop burying yourself with Apple devices.
Anyways, it makes sense to maintain something like an LRU cache, and compress only the least used things.
- danieldk 7y agoWhy would you? lz4 decompresses at ~5GB/s on a modern CPU [1] with good compression ratios, that's still more than most SSDs can push nowadays. Most applications are small fraction of that size on-disk. The problems arise when you start using xz-compressed squashfs images. LZMA2 is optimized for compression ratio and typically decompresses several times slower than even zlib deflate (which is already ~10 slower than lz4). [1] https://github.com/lz4/lz4 https://github.com/lz4/lz4