mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Binary size, before: 412128 gen/bin/example-convert-to-nia 50680 gen/bin/example-gifplayer 449680 gen/bin/example-imageviewer 439000 gen/bin/example-sdl-imageviewer 151848 gen/bin/example-toy-aux-image After: 302232 gen/bin/example-convert-to-nia 46144 gen/bin/example-gifplayer 352112 gen/bin/example-imageviewer 329168 gen/bin/example-sdl-imageviewer 138656 gen/bin/example-toy-aux-image For further data points, if you hard-code define'ing WUFFS_CONFIG__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST and WUFFS_CONFIG__DST_PIXEL_FORMAT__ALLOW_BGRA_PREMUL: Binary size, before: 121368 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo 121368 gen/lib/c/clang-static/wuffs-base-pixconv.o 181088 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo 181136 gen/lib/c/gcc-static/wuffs-base-pixconv.o After: 54784 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo 54784 gen/lib/c/clang-static/wuffs-base-pixconv.o 72144 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo 72272 gen/lib/c/gcc-static/wuffs-base-pixconv.o