Nigel Tao
|
8bbdcc4ce1
|
Allow scalar constants in type expressions
|
2019-02-02 07:53:59 +11:00 |
|
Nigel Tao
|
705a84723a
|
For "x shift y", check that y < (x's bit-size)
|
2019-01-26 16:51:49 +11:00 |
|
Nigel Tao
|
65c2f4971f
|
Rename some initialize methods to prepare or set
|
2019-01-26 15:46:42 +11:00 |
|
Nigel Tao
|
ecccafab09
|
Add check for interleaved coroutines
It's not an optimization per se, but it seems to help:
name old speed new speed delta
wuffs_deflate_decode_1k/clang5 138MB/s ± 1% 150MB/s ± 1% +8.96% (p=0.008 n=5+5)
wuffs_deflate_decode_10k/clang5 223MB/s ± 0% 243MB/s ± 0% +9.25% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_just_one_read/clang5 263MB/s ± 2% 289MB/s ± 0% +10.19% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_many_big_reads/clang5 220MB/s ± 1% 243MB/s ± 0% +10.42% (p=0.008 n=5+5)
wuffs_deflate_decode_1k/gcc7 158MB/s ± 0% 157MB/s ± 0% ~ (p=0.056 n=5+5)
wuffs_deflate_decode_10k/gcc7 268MB/s ± 0% 268MB/s ± 0% ~ (p=1.000 n=5+5)
wuffs_deflate_decode_100k_just_one_read/gcc7 312MB/s ± 0% 320MB/s ± 0% +2.62% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_many_big_reads/gcc7 254MB/s ± 0% 253MB/s ± 0% -0.48% (p=0.016 n=5+5)
|
2019-01-26 15:33:43 +11:00 |
|
Nigel Tao
|
dec519d9b4
|
Remove image_config.workbuf_len
|
2019-01-19 14:49:27 +11:00 |
|
Nigel Tao
|
f8a619f47d
|
Update lang/check tests for coroutine_resumed
|
2019-01-19 12:36:27 +11:00 |
|
Nigel Tao
|
1af543866c
|
Add an implicit coroutine_resumed variable
|
2019-01-13 11:41:58 +11:00 |
|
Nigel Tao
|
89c136ebe4
|
Add token.ID.IsCannotAssignTo
|
2019-01-13 11:15:17 +11:00 |
|
Nigel Tao
|
b18209c7dd
|
Re-order some token.ID numbers
|
2019-01-13 11:11:39 +11:00 |
|
Nigel Tao
|
ef5fc86f8a
|
Allow "if true" and "if false"
|
2019-01-06 20:28:33 +11:00 |
|
Nigel Tao
|
093268e179
|
Rename the !?? effect to ?
|
2018-12-29 13:57:57 +11:00 |
|
Nigel Tao
|
1ea32b3745
|
Remove the !? effect, leaving only ! and !??
|
2018-12-29 13:36:38 +11:00 |
|
Nigel Tao
|
a954e9ad81
|
Insert implicit semi-colons after keywords
|
2018-12-29 13:17:21 +11:00 |
|
Nigel Tao
|
3ba450ba55
|
Make gif's decoder.copy_to_image_buffer ! not !?
|
2018-12-28 17:32:48 +11:00 |
|
Nigel Tao
|
489fec4437
|
Remove parse's Options.AllowBuiltIns
|
2018-12-28 15:50:18 +11:00 |
|
Nigel Tao
|
5cddd4894f
|
Fix lang/check tests for language changes
|
2018-12-27 21:06:50 +11:00 |
|
Nigel Tao
|
c9e6ee6fb3
|
Fold Expr statements into Assign statements
|
2018-12-27 17:36:08 +11:00 |
|
Nigel Tao
|
d26fa09d07
|
Have wuffsfmt align the "T"s in "x T" fields
|
2018-12-27 15:09:52 +11:00 |
|
Nigel Tao
|
1ceb304ad9
|
Have wuffsfmt align the "T"s in "var x T" blocks
|
2018-12-27 14:19:20 +11:00 |
|
Nigel Tao
|
6dc68950c0
|
Drop the "= RHS" out of "var x T = RHS"
|
2018-12-27 11:29:47 +11:00 |
|
Nigel Tao
|
cbe19f50e0
|
Restrict var statements to the top of functions
|
2018-12-27 11:19:22 +11:00 |
|
Nigel Tao
|
84f9d3a915
|
Prohibit "this.etc = etc" inside pure functions
|
2018-12-27 11:01:55 +11:00 |
|
Nigel Tao
|
d552f88738
|
Make Iterate contain Assign's not Var's
|
2018-12-27 10:35:27 +11:00 |
|
Nigel Tao
|
bac74a830d
|
Place some vars at the top of functions
|
2018-12-26 18:34:52 +11:00 |
|
Nigel Tao
|
7405307173
|
Propagate tighter bounds checks after assignments
|
2018-12-26 16:52:55 +11:00 |
|
Nigel Tao
|
231389ee26
|
Have bounds checks use interval.IntRange methods
|
2018-12-26 15:13:56 +11:00 |
|
Nigel Tao
|
20e82ba97b
|
Use interval.IntRange instead of ast.Bounds
|
2018-12-26 14:02:34 +11:00 |
|
Nigel Tao
|
ef51d032ba
|
Prohibit weak-effect funcs calling strong-effects
|
2018-12-26 11:43:15 +11:00 |
|
Nigel Tao
|
7a0a345d41
|
Ensure that assert's and args are effect-free
|
2018-12-26 11:20:19 +11:00 |
|
Nigel Tao
|
eb0cbd802a
|
Make SubExprHasEffect an ast.Flags not ast.Effect
|
2018-12-16 11:09:23 +11:00 |
|
Nigel Tao
|
dd28f3c0f9
|
Remove the "? but not !?" effect
|
2018-12-16 11:03:31 +11:00 |
|
Nigel Tao
|
247232091d
|
Delete an obsolete io_bind in std/gif
|
2018-12-16 10:12:43 +11:00 |
|
Nigel Tao
|
622a76d4c0
|
Avoid buffer copies from LZW to GIF
name old speed new speed delta
wuffs_lzw_decode_20k/clang 213MB/s ± 0% 224MB/s ± 1% +4.89% (p=0.008 n=5+5)
wuffs_lzw_decode_100k/clang 359MB/s ± 1% 393MB/s ± 2% +9.36% (p=0.008 n=5+5)
wuffs_lzw_decode_20k/gcc 188MB/s ± 0% 187MB/s ± 0% -0.70% (p=0.008 n=5+5)
wuffs_lzw_decode_100k/gcc 223MB/s ± 2% 224MB/s ± 0% ~ (p=0.690 n=5+5)
wuffs_gif_decode_1k_bw/clang 227MB/s ± 1% 240MB/s ± 0% +5.89% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color/clang 117MB/s ± 0% 125MB/s ± 0% +6.16% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/clang 567MB/s ± 1% 599MB/s ± 0% +5.56% (p=0.008 n=5+5)
wuffs_gif_decode_10k_indexed/clang 152MB/s ± 0% 159MB/s ± 1% +4.76% (p=0.008 n=5+5)
wuffs_gif_decode_100k_artificial/clang 455MB/s ± 1% 504MB/s ± 0% +10.93% (p=0.008 n=5+5)
wuffs_gif_decode_100k_realistic/clang 178MB/s ± 2% 194MB/s ± 0% +9.00% (p=0.008 n=5+5)
wuffs_gif_decode_1000k/clang 179MB/s ± 1% 197MB/s ± 0% +9.81% (p=0.016 n=5+4)
wuffs_gif_decode_anim_screencap/clang 952MB/s ± 0% 1050MB/s ± 1% +10.29% (p=0.008 n=5+5)
wuffs_gif_decode_1k_bw/gcc 243MB/s ± 1% 252MB/s ± 0% +3.71% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color/gcc 130MB/s ± 0% 133MB/s ± 1% +2.69% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/gcc 537MB/s ± 0% 547MB/s ± 1% +1.93% (p=0.008 n=5+5)
wuffs_gif_decode_10k_indexed/gcc 163MB/s ± 0% 167MB/s ± 1% +2.40% (p=0.008 n=5+5)
wuffs_gif_decode_100k_artificial/gcc 458MB/s ± 0% 471MB/s ± 0% +2.90% (p=0.016 n=5+4)
wuffs_gif_decode_100k_realistic/gcc 186MB/s ± 0% 191MB/s ± 0% +3.08% (p=0.008 n=5+5)
wuffs_gif_decode_1000k/gcc 189MB/s ± 0% 194MB/s ± 0% +2.70% (p=0.008 n=5+5)
wuffs_gif_decode_anim_screencap/gcc 976MB/s ± 0% 1010MB/s ± 0% +3.49% (p=0.008 n=5+5)
|
2018-12-16 09:57:15 +11:00 |
|
Nigel Tao
|
33a4557d98
|
Collect GIF's LZW data into larger batches
name old speed new speed delta
wuffs_gif_decode_1k_bw/clang 224MB/s ± 1% 227MB/s ± 0% +0.98% (p=0.000 n=10+9)
wuffs_gif_decode_1k_color/clang 116MB/s ± 1% 118MB/s ± 1% +2.26% (p=0.000 n=10+10)
wuffs_gif_decode_10k_bgra/clang 541MB/s ± 0% 568MB/s ± 1% +4.97% (p=0.000 n=9+10)
wuffs_gif_decode_10k_indexed/clang 144MB/s ± 0% 152MB/s ± 0% +5.61% (p=0.000 n=9+10)
wuffs_gif_decode_100k_artificial/clang 438MB/s ± 1% 454MB/s ± 1% +3.56% (p=0.000 n=9+10)
wuffs_gif_decode_100k_realistic/clang 171MB/s ± 0% 179MB/s ± 0% +4.64% (p=0.000 n=8+10)
wuffs_gif_decode_1000k/clang 174MB/s ± 0% 180MB/s ± 0% +3.90% (p=0.000 n=9+10)
wuffs_gif_decode_anim_screencap/clang 897MB/s ± 1% 943MB/s ± 0% +5.10% (p=0.000 n=9+9)
wuffs_gif_decode_1k_bw/gcc 250MB/s ± 1% 241MB/s ± 1% -3.26% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color/gcc 132MB/s ± 1% 130MB/s ± 1% -2.15% (p=0.000 n=10+10)
wuffs_gif_decode_10k_bgra/gcc 534MB/s ± 1% 535MB/s ± 1% ~ (p=0.211 n=9+10)
wuffs_gif_decode_10k_indexed/gcc 162MB/s ± 1% 163MB/s ± 0% ~ (p=0.105 n=10+10)
wuffs_gif_decode_100k_artificial/gcc 460MB/s ± 0% 456MB/s ± 0% -0.80% (p=0.000 n=10+10)
wuffs_gif_decode_100k_realistic/gcc 186MB/s ± 0% 186MB/s ± 1% -0.33% (p=0.001 n=9+10)
wuffs_gif_decode_1000k/gcc 189MB/s ± 1% 188MB/s ± 1% ~ (p=0.053 n=9+10)
wuffs_gif_decode_anim_screencap/gcc 981MB/s ± 1% 971MB/s ± 1% -0.95% (p=0.000 n=10+10)
|
2018-12-15 14:10:10 +11:00 |
|
Nigel Tao
|
6fe313a72c
|
Allow an io_limit limit to be a refined base.u64
|
2018-12-15 10:45:36 +11:00 |
|
Nigel Tao
|
fad2ddce68
|
Generate less code for foo.since_mark().length()
|
2018-12-09 11:15:10 +11:00 |
|
Nigel Tao
|
6d2bb77bb7
|
Add a data:etc argument to io_bind
|
2018-12-09 09:53:46 +11:00 |
|
Nigel Tao
|
badbdfc487
|
Tweak io_bind syntax
|
2018-12-09 09:13:29 +11:00 |
|
Nigel Tao
|
e992921dce
|
Add an io_limit keyword
|
2018-12-09 09:03:21 +11:00 |
|
Nigel Tao
|
90193cb6e2
|
Add palette arguments to the pixel swizzler
|
2018-12-08 13:58:52 +11:00 |
|
Nigel Tao
|
6c9dca47ee
|
Add a base.pixel_swizzler type
|
2018-12-08 13:25:53 +11:00 |
|
Nigel Tao
|
5cae1f8c82
|
Remove the obsolete Effect.RootCause concept
|
2018-12-01 13:37:33 +11:00 |
|
Nigel Tao
|
9741eada02
|
Replace "= try foo" with "=? foo"
|
2018-12-01 13:11:47 +11:00 |
|
Nigel Tao
|
ad9851ea75
|
Prohibit effect-ful subexpressions
|
2018-12-01 11:33:26 +11:00 |
|
Nigel Tao
|
c986536230
|
Rename some read_uxx methods as read_uxx_as_uyy
|
2018-11-25 12:15:05 +11:00 |
|
Nigel Tao
|
c72f7a158d
|
Re-order some token.ID numbers
|
2018-11-25 11:24:30 +11:00 |
|
Nigel Tao
|
0482fadf41
|
Generate implicit wuffs_base__status for !? funcs
|
2018-11-24 15:41:56 +11:00 |
|
Nigel Tao
|
762b320b5e
|
Make the return value mandatory; add ok
|
2018-11-24 15:09:28 +11:00 |
|
Nigel Tao
|
24ace1c144
|
Type and bounds check the "x" in "return x"
|
2018-11-24 14:46:52 +11:00 |
|
Nigel Tao
|
c84732f3d3
|
Quote built-in statuses
|
2018-11-24 13:42:18 +11:00 |
|