Files
wuffs/release/c
Nigel Tao 24e7ee0104 Flush LZW output if stalled on input
name                             old speed     new speed     delta

wuffs_gif_decode_1k_bw/clang     295MB/s ± 0%  292MB/s ± 1%   -0.89%  (p=0.008 n=5+5)
wuffs_gif_decode_1k_color/clang  163MB/s ± 0%  143MB/s ± 0%  -12.15%  (p=0.008 n=5+5)
wuffs_gif_decode_10k/clang       179MB/s ± 0%  150MB/s ± 1%  -16.37%  (p=0.008 n=5+5)
wuffs_gif_decode_100k/clang      155MB/s ± 0%  152MB/s ± 0%   -1.84%  (p=0.016 n=5+4)
wuffs_gif_decode_1000k/clang     159MB/s ± 0%  156MB/s ± 1%   -2.26%  (p=0.008 n=5+5)

wuffs_gif_decode_1k_bw/gcc       313MB/s ± 0%  250MB/s ± 1%  -20.20%  (p=0.008 n=5+5)
wuffs_gif_decode_1k_color/gcc    173MB/s ± 0%  172MB/s ± 1%   -1.01%  (p=0.008 n=5+5)
wuffs_gif_decode_10k/gcc         184MB/s ± 1%  189MB/s ± 0%   +2.34%  (p=0.008 n=5+5)
wuffs_gif_decode_100k/gcc        173MB/s ± 1%  166MB/s ± 0%   -3.88%  (p=0.008 n=5+5)
wuffs_gif_decode_1000k/gcc       179MB/s ± 1%  171MB/s ± 0%   -4.07%  (p=0.008 n=5+5)

wuffs_lzw_decode_20k/clang       185MB/s ± 0%  168MB/s ± 3%   -9.34%  (p=0.008 n=5+5)
wuffs_lzw_decode_100k/clang      260MB/s ± 0%  252MB/s ± 1%   -3.36%  (p=0.008 n=5+5)

wuffs_lzw_decode_20k/gcc         211MB/s ± 0%  209MB/s ± 0%   -1.01%  (p=0.008 n=5+5)
wuffs_lzw_decode_100k/gcc        300MB/s ± 0%  307MB/s ± 0%   +2.16%  (p=0.008 n=5+5)
2018-10-14 22:35:42 +11:00
..
2018-07-21 09:28:48 +10:00
2018-10-13 17:02:41 +11:00

Wuffs ships as a "single file C library", also known as a "header file library".

To use Wuffs 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 version (but not the unsupported snapshot), with a filename like wuffs-vMAJOR.MINOR.h 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.