Meta

Superpack: Pushing the limits of compression in Facebook’s mobile apps

Sep 13, 2021Sapan Bhatia
Superpack: Pushing the limits of compression in Facebook’s mobile apps
SummaryAI, from the source post

Introduced Superpack, a novel compression technique that combines compiler analysis with data compression to reduce the size of mobile applications. Superpack achieves over 20% savings compared to default Android Zip compression by applying advanced LZ parsing and entropy coding techniques informed by compiler analysis of code structure (ASTs, opcodes). It also transforms unstructured data into programs for compression. Superpack is applied to Dex bytecode, ARM machine code, and Hermes bytecode.

More from the Scalability and Large-Scale Systems Engineering trail