On 29/09/2015 16:01, Fabrice Desré wrote: > On top of what Nathan explained, there was a very pragmatic reason: we > already had all the code needed to access zip files efficiently because > this is what we also use for the jar: protocol.
Besides we're using plain zip to compress our files, if we'd really be interested in getting down the size of gaia while keeping compatibility with zip we could re-compress our ZIP files using zopfli. I tried that some time ago using advzip's zopfli mode to recompress the output of a regular gaia build (no extra languages, just a make PRODUCTION=1 in the top-level directory) and it yielded some benefits. The total size of our applications went down from ~41.3 MiB to ~40.0 MiB which is roughly 2.75%. Not insignificant but not huge either especially considering that the build-step required would take of minutes to recompress everything. Maybe with more languages and dictionaries this would go up but I doubt it'd gain us more than a 1-2% decrease. Gabriele
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

