Nigel Tao
|
dc446b91de
|
Call SetMBounds on non-expr statements
|
2018-07-07 19:20:02 +10:00 |
|
Nigel Tao
|
b056c3e6a6
|
Rename bcheckAssignment2
|
2018-07-07 18:19:35 +10:00 |
|
Nigel Tao
|
dcaa2bb085
|
Inline bcheckAssignment1
|
2018-07-07 18:18:15 +10:00 |
|
Nigel Tao
|
e0cbd2a69e
|
Remove obsolete assignment bcheck special case
|
2018-07-07 18:17:10 +10:00 |
|
Nigel Tao
|
ba3b97ec69
|
Call SetMBounds when bounds-checking expressions
|
2018-07-07 18:15:28 +10:00 |
|
Nigel Tao
|
a506657c53
|
Make every expression have non-nil bounds
|
2018-07-07 17:36:05 +10:00 |
|
Nigel Tao
|
971e173721
|
Remove redundant const-value bounds check
|
2018-07-07 16:44:41 +10:00 |
|
Nigel Tao
|
8ce26e4025
|
Limit constants to within ±(1 << 1000)
|
2018-07-07 09:01:39 +10:00 |
|
Nigel Tao
|
ae41c7ceb5
|
Add an ast.Bounds type
|
2018-07-07 08:43:23 +10:00 |
|
Nigel Tao
|
65e2e7196a
|
Fix example/library for .h directory change
|
2018-07-01 22:41:00 +10:00 |
|
Nigel Tao
|
122c32cdad
|
Rename gen/h/std/*.h to gen/c/std/*.h
|
2018-07-01 20:55:46 +10:00 |
|
Nigel Tao
|
ccb78f5db7
|
Rename ast.Node methods from Foo to AsFoo
|
2018-07-01 20:41:21 +10:00 |
|
Nigel Tao
|
12773ce74a
|
wuffs genrelease -version=0.2.0-alpha.5
|
2018-07-01 11:16:48 +10:00 |
|
Nigel Tao
|
2599476d2c
|
Add skip32_fast method
|
2018-07-01 11:14:25 +10:00 |
|
Nigel Tao
|
bb4477d91f
|
Add peek_uxx methods
|
2018-07-01 10:26:17 +10:00 |
|
Nigel Tao
|
3896c1940f
|
Rename intersection / union as intersect / unite
We can't use "union" as a method name, as it is a C/C++ keyword.
|
2018-06-30 21:12:26 +10:00 |
|
Nigel Tao
|
5929220df0
|
Have build-all check a release compiles cleanly
|
2018-06-30 21:07:21 +10:00 |
|
Nigel Tao
|
2b40bb446b
|
Add some more C++ convenience methods
|
2018-06-30 20:53:37 +10:00 |
|
Nigel Tao
|
5e905492b3
|
Make rectangle method receivers pointers
|
2018-06-30 17:13:13 +10:00 |
|
Nigel Tao
|
39c1a3d179
|
Remove the unused wuffs_base__image_buffer__loop
|
2018-06-30 16:53:35 +10:00 |
|
Nigel Tao
|
13d2814519
|
Raise example/crc32's buffer size from 16K to 32K
This matches the 32K buffer size used by
https://github.com/redhotpenguin/perl-Archive-Zip/blob/master/script/crc32
as shipped as /usr/bin/crc32 on Debian
|
2018-06-30 16:49:13 +10:00 |
|
Nigel Tao
|
8cfb2cc6eb
|
wuffs genrelease -version=0.2.0-alpha.4
|
2018-06-30 13:49:47 +10:00 |
|
Nigel Tao
|
7f65cd04d0
|
Print progress messages when compiling releases
|
2018-06-30 13:46:22 +10:00 |
|
Nigel Tao
|
4dd90b22ba
|
Update doc/changelog.md
|
2018-06-30 13:43:16 +10:00 |
|
Nigel Tao
|
008b83e4b4
|
Fix some more C++ (not C) compile errors
|
2018-06-30 13:41:19 +10:00 |
|
Nigel Tao
|
e43aa62d1c
|
Fix some C++ (not C) compile errors
|
2018-06-30 13:31:52 +10:00 |
|
Nigel Tao
|
52e7fe0709
|
Mark std/gif's decode_up_to_id_part1 as private
|
2018-06-30 13:03:20 +10:00 |
|
Nigel Tao
|
30cfaa5db7
|
Add C++ convenience methods
|
2018-06-30 13:02:16 +10:00 |
|
Nigel Tao
|
60a7b48745
|
Compile C++ example with -Wall -Werror
|
2018-06-30 10:56:04 +10:00 |
|
Nigel Tao
|
6183aba9d7
|
Capitalize the $CC and $CXX environment variables
|
2018-06-30 10:43:26 +10:00 |
|
Nigel Tao
|
f3538d9117
|
Add example/crc32
|
2018-06-30 10:41:04 +10:00 |
|
Nigel Tao
|
b09748c485
|
Build examples with -Wall -Werror
|
2018-06-30 09:10:10 +10:00 |
|
Nigel Tao
|
33e99792eb
|
Qualify cgen'ed "func foo.bar" with the pkgName
|
2018-06-30 09:01:03 +10:00 |
|
Nigel Tao
|
92b566367d
|
Optimize some more more std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 136MB/s ± 0% 134MB/s ± 1% -1.27% (p=0.000 n=9+9)
wuffs_lzw_decode_100k/clang 175MB/s ± 0% 175MB/s ± 0% ~ (p=0.863 n=9+9)
wuffs_lzw_decode_20k/gcc 168MB/s ± 0% 177MB/s ± 1% +5.79% (p=0.000 n=9+8)
wuffs_lzw_decode_100k/gcc 242MB/s ± 0% 262MB/s ± 3% +8.27% (p=0.000 n=10+10)
wuffs_gif_decode_1k_bw/clang 280MB/s ± 1% 294MB/s ± 1% +4.88% (p=0.000 n=9+9)
wuffs_gif_decode_1k_color/clang 158MB/s ± 0% 158MB/s ± 0% ~ (p=0.724 n=8+9)
wuffs_gif_decode_10k/clang 146MB/s ± 0% 146MB/s ± 0% ~ (p=0.387 n=9+9)
wuffs_gif_decode_100k/clang 125MB/s ± 0% 125MB/s ± 1% +0.18% (p=0.040 n=9+9)
wuffs_gif_decode_1000k/clang 128MB/s ± 0% 128MB/s ± 1% +0.38% (p=0.008 n=8+9)
wuffs_gif_decode_1k_bw/gcc 323MB/s ± 1% 306MB/s ± 2% -5.20% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color/gcc 167MB/s ± 2% 164MB/s ± 1% -1.71% (p=0.002 n=10+10)
wuffs_gif_decode_10k/gcc 151MB/s ± 0% 152MB/s ± 0% +0.67% (p=0.000 n=9+10)
wuffs_gif_decode_100k/gcc 134MB/s ± 0% 136MB/s ± 1% +1.16% (p=0.001 n=9+9)
wuffs_gif_decode_1000k/gcc 138MB/s ± 0% 140MB/s ± 1% +1.18% (p=0.000 n=9+9)
|
2018-06-30 08:49:23 +10:00 |
|
Nigel Tao
|
9cd37adfe8
|
Optimize some more std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 124MB/s ± 0% 136MB/s ± 0% +9.77% (p=0.000 n=9+9)
wuffs_lzw_decode_100k/clang 164MB/s ± 1% 175MB/s ± 0% +6.66% (p=0.000 n=10+9)
wuffs_lzw_decode_20k/gcc 167MB/s ± 0% 168MB/s ± 0% +0.38% (p=0.000 n=8+9)
wuffs_lzw_decode_100k/gcc 247MB/s ± 0% 242MB/s ± 0% -2.16% (p=0.000 n=9+10)
wuffs_gif_decode_1k_bw/clang 266MB/s ± 1% 280MB/s ± 1% +5.36% (p=0.000 n=10+9)
wuffs_gif_decode_1k_color/clang 122MB/s ± 0% 158MB/s ± 0% +29.46% (p=0.000 n=10+8)
wuffs_gif_decode_10k/clang 115MB/s ± 1% 146MB/s ± 0% +27.00% (p=0.000 n=10+9)
wuffs_gif_decode_100k/clang 113MB/s ± 0% 125MB/s ± 0% +10.46% (p=0.000 n=9+9)
wuffs_gif_decode_1000k/clang 115MB/s ± 1% 128MB/s ± 0% +11.24% (p=0.000 n=9+8)
wuffs_gif_decode_1k_bw/gcc 298MB/s ± 1% 323MB/s ± 1% +8.23% (p=0.000 n=9+10)
wuffs_gif_decode_1k_color/gcc 163MB/s ± 1% 167MB/s ± 2% +2.10% (p=0.000 n=10+10)
wuffs_gif_decode_10k/gcc 152MB/s ± 0% 151MB/s ± 0% -0.55% (p=0.000 n=9+9)
wuffs_gif_decode_100k/gcc 134MB/s ± 0% 134MB/s ± 0% ~ (p=0.606 n=8+9)
wuffs_gif_decode_1000k/gcc 138MB/s ± 1% 138MB/s ± 0% ~ (p=0.422 n=9+9)
|
2018-06-30 08:40:24 +10:00 |
|
Nigel Tao
|
91bf555431
|
Optimize some std/gif if blocks
name old speed new speed delta
wuffs_lzw_decode_20k/clang 123MB/s ± 1% 124MB/s ± 0% +0.91% (p=0.000 n=46+9)
wuffs_lzw_decode_100k/clang 156MB/s ± 1% 164MB/s ± 1% +5.07% (p=0.000 n=46+10)
wuffs_lzw_decode_20k/gcc 167MB/s ± 2% 167MB/s ± 0% ~ (p=0.933 n=46+8)
wuffs_lzw_decode_100k/gcc 243MB/s ± 3% 247MB/s ± 0% +1.56% (p=0.000 n=47+9)
wuffs_gif_decode_1k_bw/clang 263MB/s ± 1% 266MB/s ± 1% +1.02% (p=0.000 n=46+10)
wuffs_gif_decode_1k_color/clang 147MB/s ± 1% 122MB/s ± 0% -16.63% (p=0.000 n=46+10)
wuffs_gif_decode_10k/clang 134MB/s ± 2% 115MB/s ± 1% -14.02% (p=0.000 n=49+10)
wuffs_gif_decode_100k/clang 115MB/s ± 1% 113MB/s ± 0% -1.73% (p=0.000 n=44+9)
wuffs_gif_decode_1000k/clang 117MB/s ± 1% 115MB/s ± 1% -2.10% (p=0.000 n=46+9)
wuffs_gif_decode_1k_bw/gcc 291MB/s ± 1% 298MB/s ± 1% +2.46% (p=0.000 n=44+9)
wuffs_gif_decode_1k_color/gcc 138MB/s ± 1% 163MB/s ± 1% +18.50% (p=0.000 n=45+10)
wuffs_gif_decode_10k/gcc 134MB/s ± 2% 152MB/s ± 0% +13.37% (p=0.000 n=47+9)
wuffs_gif_decode_100k/gcc 121MB/s ± 1% 134MB/s ± 0% +11.18% (p=0.000 n=46+8)
wuffs_gif_decode_1000k/gcc 124MB/s ± 2% 138MB/s ± 1% +11.07% (p=0.000 n=47+9)
|
2018-06-30 08:33:23 +10:00 |
|
Nigel Tao
|
9f76cb71fd
|
wuffs genrelease -version=0.2.0-alpha.3
|
2018-06-23 08:08:40 +10:00 |
|
Nigel Tao
|
0a1ce533fd
|
Add a wuffs_base__image_buffer__bounds function
|
2018-06-23 08:01:25 +10:00 |
|
Nigel Tao
|
d68fa10be5
|
Fix broken link in README.md
Fixes #15
|
2018-06-23 07:53:30 +10:00 |
|
Nigel Tao
|
1bdfc4cda2
|
Add a wuffs_base__io_buffer__compact function
|
2018-06-23 07:50:21 +10:00 |
|
Nigel Tao
|
6670445122
|
Avoid empty C structs
|
2018-06-23 07:19:26 +10:00 |
|
Nigel Tao
|
a07aa0a683
|
Don't assume that C compilers define __WORDSIZE
|
2018-06-23 07:13:08 +10:00 |
|
Nigel Tao
|
ad9931ff2e
|
Generate the release .h the same as gen/etc/*.h
|
2018-06-23 07:11:45 +10:00 |
|
Nigel Tao
|
9d024ad22e
|
Have example/gifplayer honor animation disposal
|
2018-06-23 07:05:15 +10:00 |
|
Nigel Tao
|
10d1470a10
|
wuffs genrelease -version=0.2.0-alpha.2
|
2018-06-17 13:36:10 +10:00 |
|
Nigel Tao
|
43a5349348
|
Fix a C++ (not C) compile error
|
2018-06-17 13:35:06 +10:00 |
|
Nigel Tao
|
97e9b8aa8d
|
Have example/zcat use the release edition
|
2018-06-17 09:53:03 +10:00 |
|
Nigel Tao
|
e7ff28ed6b
|
wuffs genrelease -version=0.2.0-alpha.1
|
2018-06-17 09:39:12 +10:00 |
|
Nigel Tao
|
dccf0c60d7
|
Add a "wuffs genrelease" command
|
2018-06-16 11:47:35 +10:00 |
|
Nigel Tao
|
beed8a1c52
|
Look for WUFFS_CONFIG__MODULE__BASE
|
2018-06-16 09:07:29 +10:00 |
|