Commit 723c604a "std/jpeg: tweak decoder.fill_bitstream inner loop"
inadvertently changed "increment wi" behavior in the rare code paths.
name old speed new speed delta
wuffs_jpeg_decode_19k_8bpp/clang11 237MB/s ± 0% 241MB/s ± 0% +1.79% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/clang11 213MB/s ± 0% 213MB/s ± 0% +0.36% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_sequential/clang11 384MB/s ± 0% 386MB/s ± 0% +0.50% (p=0.008 n=5+5)
wuffs_jpeg_decode_77k_24bpp/clang11 338MB/s ± 0% 341MB/s ± 0% +0.95% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_420/clang11 353MB/s ± 0% 356MB/s ± 0% +0.99% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_444/clang11 481MB/s ± 0% 484MB/s ± 0% +0.61% (p=0.008 n=5+5)
wuffs_jpeg_decode_4002k_24bpp/clang11 359MB/s ± 0% 364MB/s ± 0% +1.40% (p=0.008 n=5+5)
wuffs_jpeg_decode_19k_8bpp/gcc10 245MB/s ± 0% 234MB/s ± 0% -4.45% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 247MB/s ± 0% 245MB/s ± 0% -0.59% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_sequential/gcc10 510MB/s ± 0% 500MB/s ± 0% -1.94% (p=0.008 n=5+5)
wuffs_jpeg_decode_77k_24bpp/gcc10 432MB/s ± 0% 417MB/s ± 0% -3.62% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_420/gcc10 456MB/s ± 0% 442MB/s ± 0% -3.14% (p=0.008 n=5+5)
wuffs_jpeg_decode_552k_24bpp_444/gcc10 484MB/s ± 0% 477MB/s ± 0% -1.49% (p=0.008 n=5+5)
wuffs_jpeg_decode_4002k_24bpp/gcc10 465MB/s ± 0% 450MB/s ± 0% -3.28% (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.
Mirror
Wuffs' canonical repository is located at
github.com/google/wuffs. If you just want to
use Wuffs-the-library in its C form (instead of modifying its Wuffs form or
otherwise needing Wuffs-the-language tools), a mirror of just the release/c
directory is located at
github.com/google/wuffs-mirror-release-c.
By excluding everything else, the mirror is much smaller than and changes much
less frequently than the canonical repository.