Commit Graph
466 Commits
Author SHA1 Message Date
Nigel Tao 47cf248e57 Remove the (table T).linearize method 2018-05-29 08:23:10 +10:00
Nigel Tao 3df370e82c Fill more of std/gif's copy_to_image_buffer 2018-05-28 09:20:43 +10:00
Nigel Tao ac8ac17c65 Fill in std/gif's decoder.copy_to_image_buffer 2018-05-27 19:29:10 +10:00
Nigel Tao f43afd8236 Add a (table T).row method 2018-05-26 11:32:54 +10:00
Nigel Tao 4466267063 Make image_buffer__update's dirty_palette implicit 2018-05-24 13:09:02 +10:00
Nigel Tao 30e48093fc Bounds check the components of a s[i:j] expr 2018-05-24 11:44:16 +10:00
Nigel Tao 5e856540bd Have std/gif update an image_buffer's dirty_rect 2018-05-24 11:29:16 +10:00
Nigel Tao 92a6f23b9b Reassign built-in idents' token ID values 2018-05-18 22:53:45 +10:00
Nigel Tao 0aeb589033 Add some base.rect_ie_u32 methods 2018-05-18 22:08:44 +10:00
Nigel Tao ff618dd6ae Reassign built-in idents' token ID values 2018-05-18 20:35:56 +10:00
Nigel Tao 4a1b349cb8 Add a base.rect_ie_u32 type 2018-05-18 20:22:56 +10:00
Nigel Tao 85256c7a45 Add a (table T).linearize method 2018-05-18 13:54:07 +10:00
Nigel Tao f6cd4b2af2 Inline tcheckArg 2018-05-18 13:22:21 +10:00
Nigel Tao e586749e7a Remove obsolete nil check 2018-05-18 13:17:16 +10:00
Nigel Tao 6e06d1f9f1 Rename IDDiamond to IDDagger1 and IDDagger2 2018-05-18 13:15:39 +10:00
Nigel Tao e4320c3c6d Add built-in table T methods 2018-05-18 12:50:53 +10:00
Nigel Tao eda326726a Allow table base.u8 as a type 2018-05-18 10:31:24 +10:00
Nigel Tao 2301c763c3 Add a base.image_buffer arg to decode_frame 2018-05-18 09:42:24 +10:00
Nigel Tao a5b4838e8c Simplify tcheckExpr 2018-05-14 16:12:24 +10:00
Nigel Tao e00e71da7b Remove ast.FlagsTypeChecked 2018-05-14 16:11:18 +10:00
Nigel Tao 325488d92d Add a typeExprPlaceholder for non-expr nodes 2018-05-14 16:03:12 +10:00
Nigel Tao 56d46540b1 Rename a concept from placeholder to generic 2018-05-14 15:04:16 +10:00
Nigel Tao 0d54356b5c Add an io_writer.set method 2018-05-13 11:42:28 +10:00
Nigel Tao 2d3b3b1dae Add an io_writer var to gif's decoder.decode_id 2018-05-13 10:40:44 +10:00
Nigel Tao a6bf59006f Add max and min methods 2018-05-12 20:08:52 +10:00
Nigel Tao 131732e7eb Fix some built-in methods' effects 2018-05-12 17:55:57 +10:00
Nigel Tao 2919e51575 Add comment about ref/deref being unused 2018-05-12 17:45:41 +10:00
Nigel Tao eb377b9684 Delete obsolete set_literal_width special case 2018-05-12 15:55:53 +10:00
Nigel Tao bd12c54ab5 Rename mark to set_mark, part 1 of N 2018-05-12 14:17:26 +10:00
Nigel Tao 4afd7de09f Remove built-in limit method signatures 2018-05-12 14:05:04 +10:00
Nigel Tao 7a9554194c Allow built-in args' types to be refined 2018-05-11 14:49:15 +10:00
Nigel Tao 81decad445 Fix lang/check test for the implicit reset method 2018-05-11 10:32:59 +10:00
Nigel Tao 3ea85e770b Reorder ast.NewIf arguments 2018-05-11 10:25:39 +10:00
Nigel Tao 9a186b24fb Drop the redundant ast.Node.list3 field 2018-05-11 10:24:34 +10:00
Nigel Tao b65fdee306 Make the else-length-1 iterate tail explicit 2018-05-11 10:22:24 +10:00
Nigel Tao 8586cf8e3d Reset the GIF's LZW decoder if necessary 2018-05-10 14:42:10 +10:00
Nigel Tao 282b9c4b20 Place iterate params after vars, not before 2018-05-10 09:38:14 +10:00
Nigel Tao 79aded4797 Introduce a =: operator 2018-05-10 09:31:58 +10:00
Nigel Tao c762d50fb1 Reassign built-in idents' token ID values 2018-05-05 09:43:03 +10:00
Nigel Tao d371cc097a Tweak ioMethodAdvance implementation 2018-05-05 09:27:36 +10:00
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