3 ms·
It seems you didn't bother to read the article completely, because the author also goes into the reasoning of this problem: > You might think this is nonsense
by PinguTS 5y ago
It seems you didn't bother to read the article completely, because the author also goes into the reasoning of this problem:
> You might think this is nonsense but you have to remember, pkzip comes from the era of floppy disks. Reading an entire zip file's contents and writing out a brand new zip file could be an extremely slow process. In both cases, the ability to delete a file just by updating the central directory, or to add a file by reading the existing central directory, appending the new data, then writing a new central directory, is a desirable feature. This would be especially true if you had a zip file that spanned multiple floppy disks; something that was common in 1989. You'd like to be able to update a README.TXT in your zip file without having to re-write multiple floppies.