-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I'm probably going to ship Brotli compressed omni.ja files next release, which decreases the installed size by a substantial 50MB for 115 ESR, but this increases the installer/.7z size a little bit. (4.4MB for 115 ESR)
The installer and the .7z file are compressed with LZMA2 which causes this discrepancy. However LZMA2 generally gives better compression and is more universal so that's why it's used for those.
Which means if I were to also use LZMA2 for the omni.ja files, this would cause a negligible installer/.7z file size increase (0.2MB for 115 ESR) and be even smaller than the Brotli compressed counterpart installed on disk. (A further 5MB or 55MB smaller than no compression for 115 ESR. This actually is exactly a 1/4th size reduction for the browser (219MB extracted))
There looks to be some capability of using LZMA2 in Firefox, the installer uses it, and xz is included in the source code. However I'm not sure how to use it here.