mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-29 07:34:13 +01:00
QuickJS, which runs extension scripts, was compiled for size and ran a script benchmark (JSON, regular expressions, sorting, string shuffling) 17 percent slower: 139 ms against 117 ms on the build machine. rquickjs-sys goes back to opt-level 3. On Android arm64 the backend library grows by 0.33 MB, from 17.34 MB to 17.67 MB. The Android build passed -Os to every C compile, which overrides the level of a crate. The flag goes: C code already takes its level from the Cargo profile, and the library has the same size without it.