sozip-spec icon indicating copy to clipboard operation
sozip-spec copied to clipboard

Conceptual connections to Mozilla's "optimized zip"

Open vadimkantorov opened this issue 1 year ago • 1 comments

I wonder if you have stumbled on https://taras.glek.net/post/optimized-zip-format/ . Are the stated goals of SOZip and "optimized zip" similar or different?

"optimized zip" stresses suitability to OS's read-ahead functionality and sequential scan and SOZip seems to stress perf of random access, so it seems different goals to me, but maybe I'm mistaken.

Thanks!

vadimkantorov avatar Aug 18 '24 11:08 vadimkantorov

No, Mozilla's optimized zip is a trick to move the "file directory" at the beginning of the zip file, and place frequently accessed files toward the beginning. SOZip goal is to help you to quickly access any part of a typically gigabyte-large file compressed in a ZIP.

Both optimizations are actually "orthogonal", i.e. you could combine them

rouault avatar Sep 26 '24 21:09 rouault