Commit Graph
426 Commits
Author SHA1 Message Date
Nigel Tao e8eeee371a Raise built-in ident capacity from 96 to 768 2018-05-05 09:23:10 +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 1435f1d43c Remove ptr base.u8 methods 2018-05-04 13:24:58 +10:00
Nigel Tao 96a549814d Change iterate variable types from ptr to slice 2018-05-04 13:20:34 +10:00
Nigel Tao d85a94360e Add length fact inside iterate blocks 2018-05-04 13:00:10 +10:00
Nigel Tao c9ec81f0d6 Remove (ptr base.u8).read_u32le method 2018-05-04 12:11:42 +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 e72f957eca Add (ptr base.u8).read_u32le method 2018-05-04 10:42:05 +10:00
Nigel Tao a9d5adc3fc Prepare for more generic funcs, not just slices 2018-05-04 09:31:52 +10:00
Nigel Tao c511c53b1f Clarify iterate step and unroll syntax 2018-05-04 09:14:10 +10:00
Nigel Tao a511e927a1 Factor out a parser.parseIterateNode method 2018-05-04 09:05:33 +10:00
Nigel Tao a73e56712d Add an iterate step argument 2018-05-03 22:34:24 +10:00
Nigel Tao 92682e6ccc Add token IDs for small powers of 2 2018-05-03 21:54:16 +10:00
Nigel Tao 9a67d3b701 Reorganize some switch cases 2018-05-03 20:59:44 +10:00
Nigel Tao 2aa232576e Set up multiple std/crc32 tables 2018-05-03 13:13:26 +10:00
Nigel Tao bc9e91b9e9 Remove a dummy parameter hack 2018-05-02 20:45:36 +10:00
Nigel Tao c71a13e20e Remove the obsolete limit method 2018-05-02 20:33:25 +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 124a329e73 Remove the obsolete is_marked method 2018-04-28 10:13:32 +10:00
Nigel Tao d3342e7b4a Remove wuffs_base__io_{reader,writer} mark field 2018-04-28 09:58:45 +10:00
Nigel Tao 977f1fe64d Remove an &^ AmpHat test 2018-04-26 13:44:18 +10:00
Nigel Tao 7f0923a9cf Remove the unused &^ AmpHat operator 2018-04-26 11:24:27 +10:00
Nigel Tao 95815036ba Remove an obsolete TODO 2018-04-26 11:14:31 +10:00
Nigel Tao 6d167b7424 Add ~sat+ and ~sat- 2018-04-26 11:13:19 +10:00
Nigel Tao 6fb1abc739 Fix missing check.builtInTypeMap entry 2018-04-26 10:06:36 +10:00
Nigel Tao a698b47cb6 Rename ~+ to ~mod+; add ~mod-. 2018-04-26 10:05:19 +10:00
Nigel Tao fd2d6e5b8a Tighten up low_bits / high_bits bounds checking 2018-04-21 15:44:12 +10:00
Nigel Tao 8d05db48a4 Remove some hard coded bcheckExprOther checks 2018-04-21 08:45:59 +10:00
Nigel Tao c479907bff Remove typeExprPlaceholder 2018-04-20 17:16:23 +10:00
Nigel Tao ba0db5b4d1 Remove some hard coded bcheckExprOther checks 2018-04-20 17:03:29 +10:00
Nigel Tao 4ddc2f0055 Make an ast.TypeExpr's ID0 field more consistent 2018-04-20 16:21:16 +10:00
Nigel Tao 90a794c0b8 Remove some hard coded bcheckExprOther checks 2018-04-20 14:19:41 +10:00
Nigel Tao bbe3eef04b Clarify a method TypeExpr's string form 2018-04-20 14:19:09 +10:00
Nigel Tao 6656b6e5e9 Tighten some more ast.TypeExpr methods 2018-04-16 08:19:54 +10:00
Nigel Tao 6c6a647cab Tighten the ast.TypeExpr IsNumType methods 2018-04-15 18:33:25 +10:00
Nigel Tao c7ee2c1be8 Tighten the token.ID's XxxForm methods 2018-04-15 18:26:02 +10:00
Nigel Tao c9161bafaf Simplify token.builtInsByID 2018-04-15 18:15:56 +10:00
Nigel Tao e2716e4365 Re-organize the token ID space 2018-04-15 18:12:00 +10:00
Nigel Tao 0395f8de45 Make IDDoubleZ an ident 2018-04-15 17:58:58 +10:00
Nigel Tao eeebd58d7b Remove token ID/Key distinction, part 11 of N 2018-04-15 17:57:10 +10:00
Nigel Tao b24a929ec7 Remove token ID/Key distinction, part 10 of N 2018-04-15 15:44:31 +10:00
Nigel Tao 10b6eaebb6 Remove token ID/Key distinction, part 9 of N 2018-04-15 15:41:48 +10:00
Nigel Tao 1717d5befd Remove token ID/Key distinction, part 8 of N 2018-04-15 15:22:09 +10:00
Nigel Tao 81e02e7db6 Remove token ID/Key distinction, part 7 of N 2018-04-15 15:15:56 +10:00
Nigel Tao 5c48c84cae Remove token ID/Key distinction, part 6 of N 2018-04-15 11:41:40 +10:00
Nigel Tao 8b51d09aa9 Remove token ID/Key distinction, part 5 of N 2018-04-15 11:27:18 +10:00
Nigel Tao af263fa26e Remove token ID/Key distinction, part 4 of N 2018-04-15 11:05:43 +10:00
Nigel Tao 19d76bc61d Remove token ID/Key distinction, part 3 of N 2018-04-15 11:01:41 +10:00