3 ms·
If I recall, the LZX [0] compression program on the Amiga, way back when, used to do this. It re-ordered the list of files according to some detected type or ot
by mnw21cam 6y ago
If I recall, the LZX [0] compression program on the Amiga, way back when, used to do this. It re-ordered the list of files according to some detected type or other before compressing in groups. It called these groups "merge groups" [1].
[0] https://en.wikipedia.org/wiki/LZX https://en.wikipedia.org/wiki/LZX
[1] http://xavprods.free.fr/lzx/optsmmgs.html http://xavprods.free.fr/lzx/optsmmgs.html
- formerly_proven 6y ago"Merge groups" sound like solid compression, i.e. compressing multiple files together. Note that .tar.XYZ is always fully solid, while something like .zip compresses each file individually, and something like .7z has a solid block size. That's the main reason why .tar.gz usually compresses better than .zip, despite zip usually using deflate, just like gz.
- mnw21cam 6y agoYes, that's right. The useful bit is making sure that similar files are put in the same group (or otherwise within the search window of the compression algorithm, which for LZX was 64kB, and for deflate is 32kB).