On Thu, Feb 27, 2014 at 09:30:22AM +0100, Axel Hecht wrote:
> The feature of zip we want is the index, that let's us seek to a
> position in the bundle and start unpacking, just given the filename.
> 
> How hard is to actually create a datastructure for the same purpose
> for a tar.xz or so? I don't know really anything about the
> uncompression algorithms to know if we could do something like
> - seek to position N in bundle
> - set state to X, if applicable
> - uncompress, skip M bytes
> -- you get your file contents, L bytes long
> 
> Or so. Yes, it'd be a new file format, I guess, at least as far as I
> can tell? Maybe it's worth it.

That's essentially what the 7z format does... it we're ready to take the
decompression overhead.

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to