Zip file format came out of DOS ages in the early 1980s and the PKZip program.
Phil Katz is no longer with us, I heard he passed on in the 80s with uncashed royality checks under his bed. It is now what it is. Regards, Dave Sent from my iPhone > On Aug 1, 2015, at 2:33 AM, jan i <[email protected]> wrote: > > Hi > > Does anybody know why zip has a mad inefficient directory structure ? > > I try to understand the why, but fail. > > A zip file, contains 1 global directory with information about every single > file (flat structure, no > sub directories, but filenames may contain a "/"). That is logical and > expected. > > BUT in front of every file, there are a local file header, with filename > about 3/4 of the information > from the global directory. This information seems pure redundant and > unneeded. > > What am I missing here ? on one of my test docx, the local headers are > about 10% of the filesize (looong filenames) which could be thrown away. > > Hope somebody can see what I failed to see. > rgds > jan i.
