33
Is a singular ZIP File heavier than separated files?
(lemmy.world)
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
Looking for support?
Looking for a community?
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
I don't know the details, but in principle, the zip compression process tries to identify the textual commonalities between the pages. The more commonalities the 10 pages have, the smaller the zip file will be.
If each page is textually very different, (example, Page 1 is "AB" , Page 2 is "CD", etc.), it's possible that the zip file will be larger. It's because it will contain the full contents of each page, plus the metadata of the zip file.
Anyone more knowledgeable can correct me on this.
Almost correct, except that the patterns it works with are on the byte level. Not all files contain text, after all.
Yes, indeed. Thanks for clarifying.