Commit Graph
467 Commits
Author SHA1 Message Date
Nigel Tao 2dfe222681 Drop args- and this-related facts after ? call 2020-11-05 14:49:47 +11:00
Nigel Tao 3c3d58bfe7 Rename io_writer.history_available 2020-08-13 23:29:59 +10:00
Nigel Tao be8542e313 Rename I/O available methods to length 2020-08-13 23:26:08 +10:00
Nigel Tao 850dc18d16 Have std/cbor produce extended inline integers 2020-07-21 22:52:04 +10:00
Nigel Tao 31674f9bd2 Let skip_u32_fast take non-constant arguments 2020-07-15 14:10:43 +10:00
Nigel Tao ed48514f30 Remove ast.NewExpr statusPkg arg 2020-06-10 12:05:48 +10:00
Nigel Tao 7dc73a856a Remove unused checker.exprConstValue method 2020-06-10 11:43:46 +10:00
Nigel Tao 74d291453d Un-special-case parsing base."etc" 2020-06-10 11:34:56 +10:00
Nigel Tao 3b1d3d0a39 Remove check.Error.OtherFoo fields 2020-06-09 17:00:24 +10:00
Nigel Tao 6f43ab4b92 Reject duplicate top level names 2020-06-09 16:59:43 +10:00
Nigel Tao 7e32336de0 Add base.PIXEL_FORMAT__ETC constants 2020-06-09 12:34:34 +10:00
Nigel Tao 8b70ad0565 Rename skip32 to skip_u32 2020-05-27 23:29:20 +10:00
Nigel Tao 1ed0f89948 Rename copy_n32_etc to limited_copy_u32_etc 2020-05-27 19:55:06 +10:00
Nigel Tao ad1cff3921 Add tell_me_more? mechanism 2020-05-12 11:12:39 +10:00
Nigel Tao 1f424b2ea7 Propagate const-values to idents of consts 2020-04-16 09:37:05 +10:00
Nigel Tao b791b441ef Improve error message for unreachable code 2020-04-03 10:58:04 +11:00
Nigel Tao ee23f8b3d9 Move loop/jump matching from check to parse 2020-04-03 10:26:35 +11:00
Nigel Tao 4cfc367a9b Factor out an ast.Terminates function 2020-04-02 17:32:37 +11:00
Nigel Tao f515dc0848 Rename io_writer.write_fast_etc 2020-04-02 12:32:40 +11:00
Nigel Tao 3456f39f9d Rename token_writer.write_fast_token 2020-04-02 12:26:57 +11:00
Nigel Tao 40d200cdab Drop cached expr MBounds when re-checking asserts
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21371
2020-03-26 08:14:43 +11:00
Nigel Tao 9e50918718 Add single-quoted strings 2020-03-25 19:41:02 +11:00
Nigel Tao b86373aff5 Add io_reader.peek_u64le_at 2020-03-19 11:33:22 +11:00
Nigel Tao 2d2a880c18 Ban unlabeled break/continue for labeled loop 2020-02-24 14:20:05 +11:00
Nigel Tao ea2cd1c5c9 Fix lang/check test for endwhile syntax 2020-02-23 17:11:27 +11:00
Nigel Tao 0aacdfd6e3 Allow r.skip32_fast!(actual: x, worst_case: x) 2020-02-19 14:09:43 +11:00
Nigel Tao e9aba8924a Add token_writer.write_fast_token 2020-02-12 21:45:06 +11:00
Nigel Tao 737e31ff3a Add tokens 2020-02-11 12:02:58 +11:00
Nigel Tao fb9a0964a2 Fix associative op const-value calculation 2020-02-08 14:54:00 +11:00
Nigel Tao 09ed091fe3 Rename skip / copy_n_etc to skip32 / copy_n32_etc 2020-01-16 22:07:44 +11:00
Nigel Tao 1a791217de Add wuffs_base__pixel_blend type 2020-01-14 09:27:04 +11:00
Nigel Tao a6ee0ee391 Remove builtin.ParseFuncs "generic" argument 2020-01-11 10:37:37 +11:00
Nigel Tao ea54c2ea11 Add syntax support for implementing interfaces 2020-01-09 15:45:29 +11:00
Nigel Tao 9e033579c8 Add interface method signatures 2020-01-06 21:59:30 +11:00
Nigel Tao 4f53f3101f Make wuffs_base__pixel_format a struct 2020-01-05 14:18:48 +11:00
Nigel Tao a5dbb9160f Add doc/note/assertions.md 2019-12-18 14:12:34 +11:00
Nigel Tao 688e947016 Check that =? types are base.status 2019-12-05 21:06:52 +11:00
Nigel Tao cb7e9e0ce9 Add a ~mod* operator 2019-11-12 21:30:45 +11:00
Nigel Tao 7ce58b6179 Add IntRange.TryFoo methods 2019-11-03 09:06:08 +11:00
Nigel Tao e756160433 Add axioms.md note to run go generate 2019-10-25 11:06:12 +11:00
Nigel Tao b44c823fdf Factor out lang/check/axioms.md 2019-10-18 22:41:42 +11:00
Nigel Tao a21ad25bb8 Rename x T to x: T for vars 2019-10-12 21:55:13 +11:00
Nigel Tao 1520a1f345 Rename x T to x: T for fields and func args 2019-10-12 21:49:04 +11:00
Nigel Tao a9ea63ff06 Rename [i:j] to [i .. j], the same as Rust 2019-10-12 21:14:18 +11:00
Nigel Tao 7872a8893b Rename while:label to while.label 2019-10-12 19:04:32 +11:00
Nigel Tao d501daddc3 Rename [i..j] to [i ..= j], the same as Rust 2019-10-12 18:40:53 +11:00
Nigel Tao 1c1ce9b19f Drop the unused ref and deref operators 2019-10-05 12:41:09 +10:00
Nigel Tao 4537246cf8 Remove redundant "go generate" line 2019-08-08 10:28:37 +10:00
Nigel Tao b54b40a418 Use history_available in decode_huffman_fast
name                                             old speed     new speed     delta

wuffs_deflate_decode_1k_full_init/clang5         134MB/s ± 1%  137MB/s ± 0%  +1.74%  (p=0.000 n=10+10)
wuffs_deflate_decode_1k_part_init/clang5         162MB/s ± 1%  165MB/s ± 0%  +1.79%  (p=0.000 n=10+10)
wuffs_deflate_decode_10k_full_init/clang5        220MB/s ± 0%  226MB/s ± 0%  +2.76%  (p=0.000 n=10+9)
wuffs_deflate_decode_10k_part_init/clang5        225MB/s ± 0%  232MB/s ± 1%  +2.77%  (p=0.000 n=9+9)
wuffs_deflate_decode_100k_just_one_read/clang5   270MB/s ± 0%  265MB/s ± 0%  -1.93%  (p=0.000 n=10+10)
wuffs_deflate_decode_100k_many_big_reads/clang5  225MB/s ± 0%  223MB/s ± 0%  -1.04%  (p=0.000 n=10+9)

wuffs_deflate_decode_1k_full_init/gcc7           151MB/s ± 1%  151MB/s ± 0%    ~     (p=0.277 n=9+8)
wuffs_deflate_decode_1k_part_init/gcc7           186MB/s ± 1%  186MB/s ± 0%    ~     (p=0.696 n=10+8)
wuffs_deflate_decode_10k_full_init/gcc7          256MB/s ± 1%  253MB/s ± 1%  -0.98%  (p=0.001 n=10+9)
wuffs_deflate_decode_10k_part_init/gcc7          264MB/s ± 1%  261MB/s ± 0%  -1.11%  (p=0.000 n=10+9)
wuffs_deflate_decode_100k_just_one_read/gcc7     310MB/s ± 1%  312MB/s ± 0%  +0.43%  (p=0.013 n=10+9)
wuffs_deflate_decode_100k_many_big_reads/gcc7    247MB/s ± 0%  251MB/s ± 0%  +1.47%  (p=0.000 n=10+9)
2019-07-06 11:31:17 +10:00
Nigel Tao ef7aa0d980 Rename "!=" to "<>"; "!" now only shows impurity 2019-03-02 14:51:32 +11:00