logoalt Hacker News

QuantumNomad_yesterday at 4:12 PM1 replyview on HN

You can achieve the same with tar if you individually compress the files before adding them to the tar ball instead of compressing the tar ball itself.

I don’t see how that plus a small index of offsets would be notably more or less work to do from using a zip file.


Replies

chungyyesterday at 4:45 PM

Zip has a central directory you could just query, instead of having to construct one in-memory by scanning the entire archive. That's significantly less work.

show 1 reply