Files
wuffs/release/c
Nigel Tao 7f1ebf0b6c Make deflate's init_huff ! not !?
name                             old speed     new speed     delta

wuffs_deflate_decode_1k/clang    139MB/s ± 0%  137MB/s ± 0%  -1.03%  (p=0.008 n=5+5)
wuffs_deflate_decode_10k/clang   226MB/s ± 0%  220MB/s ± 0%  -2.93%  (p=0.008 n=5+5)
wuffs_deflate_decode_100k/clang  259MB/s ± 1%  258MB/s ± 0%    ~     (p=0.151 n=5+5)

wuffs_deflate_decode_1k/gcc      157MB/s ± 0%  157MB/s ± 0%  +0.24%  (p=0.040 n=5+5)
wuffs_deflate_decode_10k/gcc     261MB/s ± 0%  268MB/s ± 0%  +3.00%  (p=0.016 n=5+4)
wuffs_deflate_decode_100k/gcc    316MB/s ± 0%  311MB/s ± 1%  -1.49%  (p=0.008 n=5+5)
2018-12-28 19:11:55 +11:00
..
2018-12-22 17:04:58 +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.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.