mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
This undoes commit 1a63b53e "Have std/deflate read 64 bits once per
inner loop" for 32-bit CPUs.
On a Raspberry Pi 4 (32-bit armv7l):
wuffs_deflate_decode_1k_full_init/clang9 44.9MB/s ± 1% 50.1MB/s ± 1% +11.54% (p=0.008 n=5+5)
wuffs_deflate_decode_1k_part_init/clang9 52.8MB/s ± 0% 61.1MB/s ± 0% +15.61% (p=0.008 n=5+5)
wuffs_deflate_decode_10k_full_init/clang9 81.4MB/s ± 0% 84.5MB/s ± 0% +3.89% (p=0.008 n=5+5)
wuffs_deflate_decode_10k_part_init/clang9 87.9MB/s ± 0% 91.1MB/s ± 0% +3.67% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_just_one_read/clang9 106MB/s ± 0% 113MB/s ± 0% +5.70% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_many_big_reads/clang9 59.6MB/s ± 0% 59.1MB/s ± 0% -0.81% (p=0.008 n=5+5)
wuffs_deflate_decode_1k_full_init/gcc8 44.7MB/s ± 1% 50.9MB/s ± 1% +13.91% (p=0.008 n=5+5)
wuffs_deflate_decode_1k_part_init/gcc8 52.6MB/s ± 0% 61.5MB/s ± 0% +17.06% (p=0.008 n=5+5)
wuffs_deflate_decode_10k_full_init/gcc8 76.5MB/s ± 0% 85.6MB/s ± 1% +11.89% (p=0.008 n=5+5)
wuffs_deflate_decode_10k_part_init/gcc8 82.3MB/s ± 0% 92.2MB/s ± 0% +12.07% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_just_one_read/gcc8 97.8MB/s ± 0% 112.1MB/s ± 0% +14.62% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_many_big_reads/gcc8 58.0MB/s ± 0% 61.6MB/s ± 0% +6.09% (p=0.008 n=5+5)
Releases (in the C Programming Language)
Wuffs the Library ships as a "single file C library", also known as a "header file library".
To use that library in your C/C++ project, you just need to copy one file from
this directory, or otherwise integrate that one file into your build system.
Typically, pick the latest stable version (but not the unsupported snapshot),
with a filename like wuffs-vMAJOR.MINOR.c for version MAJOR.MINOR.
To use that single file as a "foo.c"-like implementation, instead of a
"foo.h"-like header, #define WUFFS_IMPLEMENTATION before #include'ing or
compiling it.
Latest Stable Version
Version 0.2 (December 2019) is the latest stable version. Stable means that its API won't change any further, but being a "version 0.x" means that:
- It will not have long term support.
- Newer versions make no promises about compatibility.