mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
This commit will soon be followed by a rollback, but it is committed anyway so that we can refer to these numbers in the git log. name old speed new speed delta wuffs_json_decode_1k/clang5 607MB/s ± 0% 543MB/s ± 1% -10.68% (p=0.008 n=5+5) wuffs_json_decode_21k_formatted/clang5 330MB/s ± 2% 320MB/s ± 3% ~ (p=0.056 n=5+5) wuffs_json_decode_26k_compact/clang5 468MB/s ± 2% 434MB/s ± 1% -7.26% (p=0.008 n=5+5) wuffs_json_decode_217k_stringy/clang5 391MB/s ± 1% 363MB/s ± 0% -7.03% (p=0.008 n=5+5) wuffs_json_decode_1k/gcc7 715MB/s ± 0% 583MB/s ± 0% -18.38% (p=0.016 n=5+4) wuffs_json_decode_21k_formatted/gcc7 403MB/s ± 0% 350MB/s ± 0% -12.94% (p=0.016 n=5+4) wuffs_json_decode_26k_compact/gcc7 534MB/s ± 0% 420MB/s ± 1% -21.41% (p=0.008 n=5+5) wuffs_json_decode_217k_stringy/gcc7 435MB/s ± 0% 359MB/s ± 0% -17.44% (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.