mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
Zip compression during multi-file ROM download is not needed. Commonly, ROMs are already compressed, and trying to compress them again on the fly does not reduce the generated file's size, while spending CPU power and making the download slower because of the compression process being the bottleneck. By setting `level=0`, compression gets disabled, increasing download speed, and reducing CPU usage. CPU still gets a usage peak, because of Zip requiring a CRC32 calculation over each file's content.