Commit Graph
58 Commits
Author SHA1 Message Date
Nigel Tao 6d510bcfcb Spin out a std/lzw package 2018-06-02 14:15:09 +10:00
Nigel Tao 8586cf8e3d Reset the GIF's LZW decoder if necessary 2018-05-10 14:42:10 +10:00
Nigel Tao 79aded4797 Introduce a =: operator 2018-05-10 09:31:58 +10:00
Nigel Tao 1702c1e303 Rename iterate's step to length 2018-05-05 08:25:23 +10:00
Nigel Tao 877b4f648f Remove p[i] for ptr-typed p 2018-05-04 13:29:51 +10:00
Nigel Tao 96a549814d Change iterate variable types from ptr to slice 2018-05-04 13:20:34 +10:00
Nigel Tao f64bf4af61 Allow p[i] for ptr-typed p; speed up std/crc32
name                          old speed      new speed      delta
wuffs_crc32_ieee_10k/clang     483MB/s ± 1%  2263MB/s ± 3%  +368.94%  (p=0.000 n=48+5)
wuffs_crc32_ieee_100k/clang    482MB/s ± 1%  2257MB/s ± 3%  +367.96%  (p=0.000 n=48+5)
wuffs_crc32_ieee_10k/gcc       419MB/s ± 1%  2473MB/s ± 1%  +489.93%  (p=0.000 n=48+5)
wuffs_crc32_ieee_100k/gcc      419MB/s ± 1%  2465MB/s ± 1%  +488.02%  (p=0.000 n=47+5)
wuffs_gzip_decode_10k/clang    153MB/s ± 1%   208MB/s ± 0%   +35.30%  (p=0.000 n=48+5)
wuffs_gzip_decode_100k/clang   168MB/s ± 1%   236MB/s ± 0%   +40.67%  (p=0.000 n=50+4)
wuffs_gzip_decode_10k/gcc      156MB/s ± 1%   231MB/s ± 3%   +47.91%  (p=0.000 n=50+5)
wuffs_gzip_decode_100k/gcc     172MB/s ± 1%   267MB/s ± 0%   +55.64%  (p=0.000 n=48+5)
2018-05-04 11:59:48 +10:00
Nigel Tao 4584022d1a Note new iterate syntax 2018-05-04 09:33:12 +10:00
Nigel Tao a73e56712d Add an iterate step argument 2018-05-03 22:34:24 +10:00
Nigel Tao 04776e9dcf Add a set_limit method 2018-04-28 13:56:37 +10:00
Nigel Tao 395890c287 Add an io_bind keyword 2018-04-28 11:45:33 +10:00
Nigel Tao 035b138cb1 Spin out a std/adler32 package 2018-04-27 17:20:10 +10:00
Nigel Tao 7f0923a9cf Remove the unused &^ AmpHat operator 2018-04-26 11:24:27 +10:00
Nigel Tao 6d167b7424 Add ~sat+ and ~sat- 2018-04-26 11:13:19 +10:00
Nigel Tao a698b47cb6 Rename ~+ to ~mod+; add ~mod-. 2018-04-26 10:05:19 +10:00
Nigel Tao f95239f6e0 Rename u32, io_reader, etc to base.u32, etc 2018-04-12 21:49:17 +10:00
Nigel Tao e4c4f5ce62 Rename iterate.N to iterate[N] 2018-04-05 22:32:15 +10:00
Nigel Tao d33db6dae0 Introduce "array[N] T" and "slice T" type syntax 2018-04-05 22:21:08 +10:00
Nigel Tao 97aab37462 Rename buf1, reader1, etc to io_buffer, io_reader
Also remove the unused Buf1, Buf2 and Usize tokens.
2018-04-05 20:49:48 +10:00
Nigel Tao 9cc6964c30 Stub out a new std/gzip package 2018-03-28 10:22:46 +11:00
Nigel Tao 56a767ede3 Update doc/changelog.md 2018-03-25 18:12:04 +11:00
Nigel Tao d1399fac19 Rename test/testdata to test/data 2018-03-16 10:48:33 +11:00
Nigel Tao b059480f66 Update doc/related-work.md 2018-02-23 15:38:10 +11:00
Nigel Tao a62abbe613 Update doc/changelog.md 2018-02-18 14:06:23 +11:00
Nigel Tao 372618c817 Use the faster mimic_deflate API
name                             old speed     new speed     delta
mimic_deflate_decode_1k/gcc      217MB/s ± 1%  217MB/s ± 1%     ~     (p=1.000 n=5+5)
mimic_deflate_decode_10k/gcc     260MB/s ± 2%  263MB/s ± 1%     ~     (p=0.421 n=5+5)
mimic_deflate_decode_100k/gcc    277MB/s ± 1%  316MB/s ± 1%  +13.95%  (p=0.008 n=5+5)

Note that these numbers are for the C zlib library (these are "mimic"
numbers), not for the Wuffs code.
2018-01-05 18:22:25 +11:00
Nigel Tao 8a986019f8 Update doc/changelog.md 2018-01-04 10:38:52 +11:00
Nigel Tao f0e3f07be0 Update some docs for the std/flate rename 2017-12-04 10:54:49 +11:00
Nigel Tao 1388f84e5c Rename std/flate to std/deflate 2017-12-04 10:27:48 +11:00
Nigel Tao dd3f0b9ed4 Add a placeholder std/zlib package 2017-12-02 11:21:30 +11:00
Nigel Tao 65dcf6a5b9 Add a yield keyword 2017-12-01 15:24:48 +11:00
Nigel Tao 93665d50fe Add doc/changelog.md 2017-12-01 11:49:12 +11:00
Nigel Tao b9fd20bfe4 Rename PUFFS to WUFFS, part 10 of N 2017-11-30 18:15:36 +11:00
Nigel Tao 456e620d02 Rename PUFFS to WUFFS, part 4 of N 2017-11-30 16:28:28 +11:00
Nigel Tao 0cea46531b Rename PUFFS to WUFFS, part 2 of N 2017-11-30 16:23:16 +11:00
Nigel Tao c910b5bca8 Clarify some docs on operator precedence 2017-11-18 13:53:12 +11:00
Nigel Tao 20417f8368 Update doc/benchmarks.md. 2017-11-15 21:43:20 +11:00
Nigel Tao 21881f9f45 Update doc/related-work.md. 2017-11-15 11:13:55 +11:00
Nigel Tao 1e10dad59e Update doc/related-work.md. 2017-11-15 10:46:17 +11:00
Nigel Tao 6748370c56 Update doc/related-work.md. 2017-11-14 12:46:21 +11:00
Nigel Tao ca99003bd2 Update doc/benchmarks.md. 2017-11-14 09:01:09 +11:00
Nigel Tao 02c5194078 Update doc/binary-size.md. 2017-11-10 10:10:30 +11:00
Nigel Tao 417ecef784 Omit needless words. 2017-11-10 09:48:53 +11:00
Nigel Tao f4e4381a3b Update dod/benchmarks.md.
Note that these benchmarks were measured on Debian Testing, which uses
different clang and gcc versions than the Ubuntu Trusty system used for
benchstat numbers reported in recent git commits.
2017-11-09 20:37:16 +11:00
Nigel Tao c69e256b0c Add a note about CPU Scaling and benchmarks. 2017-11-09 13:26:20 +11:00
Nigel Tao 9ebcd54d43 Discuss "puffs bench" in doc/benchmarks.md. 2017-11-04 11:33:49 +11:00
Nigel Tao cbc8c39375 Delete old limit- and mark-related code. 2017-10-27 10:57:32 +11:00
Nigel Tao ac793d33bc Generate placeholder code for "mark in.dst". 2017-10-22 13:57:37 +11:00
Nigel Tao 4d7faac49e Update doc/puffs-the-language.md for operators. 2017-10-20 18:35:04 +11:00
Nigel Tao 51bd52239b Add an "iterate" keyword. 2017-10-20 15:33:31 +11:00
Nigel Tao 7b18295688 Update doc/benchmarks.md. 2017-10-20 09:53:21 +11:00