Nigel Tao
|
4d3a65763e
|
Spin out base-interfaces sub-module
$ ls -l gen/lib/c/*/{lib*,*base*} | awk '{print $5 " " $9}'
Before:
167952 gen/lib/c/clang-5.0-dynamic/libwuffs.so
20664 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
205656 gen/lib/c/clang-5.0-static/libwuffs.a
20960 gen/lib/c/clang-5.0-static/wuffs-base-core.o
188064 gen/lib/c/gcc-dynamic/libwuffs.so
18936 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
232976 gen/lib/c/gcc-static/libwuffs.a
18920 gen/lib/c/gcc-static/wuffs-base-core.o
After:
167976 gen/lib/c/clang-5.0-dynamic/libwuffs.so
13944 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
8128 gen/lib/c/clang-5.0-dynamic/wuffs-base-interfaces.lo
207150 gen/lib/c/clang-5.0-static/libwuffs.a
14240 gen/lib/c/clang-5.0-static/wuffs-base-core.o
8128 gen/lib/c/clang-5.0-static/wuffs-base-interfaces.o
188088 gen/lib/c/gcc-dynamic/libwuffs.so
13296 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
7384 gen/lib/c/gcc-dynamic/wuffs-base-interfaces.lo
234766 gen/lib/c/gcc-static/libwuffs.a
13432 gen/lib/c/gcc-static/wuffs-base-core.o
7192 gen/lib/c/gcc-static/wuffs-base-interfaces.o
|
2020-05-26 11:43:54 +10:00 |
|
Nigel Tao
|
04ab8868bd
|
Add some more WUFFS_BASE__MAYBE_STATIC's to base
|
2020-05-26 11:02:31 +10:00 |
|
Nigel Tao
|
092b03cd1e
|
Add WUFFS_CONFIG__MODULE__BASE__ETC sub-modules
$ ls -l gen/lib/c/*/{lib*,*base*} | awk '{print $5 " " $9}'
Before:
167976 gen/lib/c/clang-5.0-dynamic/libwuffs.so
40824 gen/lib/c/clang-5.0-dynamic/wuffs-base.lo
203306 gen/lib/c/clang-5.0-static/libwuffs.a
41816 gen/lib/c/clang-5.0-static/wuffs-base.o
188080 gen/lib/c/gcc-dynamic/libwuffs.so
53976 gen/lib/c/gcc-dynamic/wuffs-base.lo
230002 gen/lib/c/gcc-static/libwuffs.a
53976 gen/lib/c/gcc-static/wuffs-base.o
After:
168024 gen/lib/c/clang-5.0-dynamic/libwuffs.so
20664 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
10784 gen/lib/c/clang-5.0-dynamic/wuffs-base-f64conv.lo
11640 gen/lib/c/clang-5.0-dynamic/wuffs-base-pixconv.lo
205752 gen/lib/c/clang-5.0-static/libwuffs.a
20960 gen/lib/c/clang-5.0-static/wuffs-base-core.o
11024 gen/lib/c/clang-5.0-static/wuffs-base-f64conv.o
12096 gen/lib/c/clang-5.0-static/wuffs-base-pixconv.o
188128 gen/lib/c/gcc-dynamic/libwuffs.so
18936 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
10672 gen/lib/c/gcc-dynamic/wuffs-base-f64conv.lo
27232 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
232984 gen/lib/c/gcc-static/libwuffs.a
18920 gen/lib/c/gcc-static/wuffs-base-core.o
10640 gen/lib/c/gcc-static/wuffs-base-f64conv.o
27216 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-05-25 23:01:11 +10:00 |
|
Nigel Tao
|
43db33a345
|
Prepare to spin out base submodules
|
2020-05-25 22:44:29 +10:00 |
|
Nigel Tao
|
7a823a7424
|
Fix std/wbmp decode_frame across a suspension
|
2020-05-22 12:25:13 +10:00 |
|
Nigel Tao
|
f9a90d8ade
|
Loosen what std/gif allows as the trailer byte
|
2020-05-21 22:06:21 +10:00 |
|
Nigel Tao
|
f3b9704e4d
|
Rename some color_u32_argb_premul conversion funcs
|
2020-05-19 23:39:26 +10:00 |
|
Nigel Tao
|
c7e5ca1545
|
Expand supported pixel_swizzler dst+src pixfmt's
|
2020-05-19 23:27:26 +10:00 |
|
Nigel Tao
|
509b3e7c43
|
Fix pixel_swizzler dst offset scalar
|
2020-05-19 23:23:05 +10:00 |
|
Nigel Tao
|
473427c015
|
Re-organize internal/cgen/base/image-impl.c
|
2020-05-19 23:21:09 +10:00 |
|
Nigel Tao
|
ab257af2cf
|
Let pixel_swizzler blend src_over a nonpremul dst
|
2020-05-18 10:58:37 +10:00 |
|
Nigel Tao
|
d585f9b902
|
Add more pixel formats to set_color_u32_at
|
2020-05-16 11:23:44 +10:00 |
|
Nigel Tao
|
9a1b8def46
|
Tweak pixel_format bits
|
2020-05-16 10:12:16 +10:00 |
|
Nigel Tao
|
f8f07d8e13
|
Move premul/non-premul conversions to image-public
|
2020-05-14 21:22:52 +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
|
9f6c40246f
|
Simplify cgen of empty functions
|
2020-04-16 09:34:50 +10:00 |
|
Nigel Tao
|
e39f3cbf42
|
Redo Wuffs structs' quirk bool fields
|
2020-04-14 23:03:18 +10:00 |
|
Nigel Tao
|
80071730a3
|
Add std/json CLASS_XXX constants
|
2020-04-13 16:06:16 +10:00 |
|
Nigel Tao
|
74871344f0
|
Capitalize Wuffs const names
|
2020-04-13 15:52:36 +10:00 |
|
Nigel Tao
|
4bc42db1d3
|
Add set_quirk_enabled interface methods
|
2020-04-12 20:53:54 +10:00 |
|
Nigel Tao
|
873c6b400a
|
Add alloc functions
|
2020-04-12 20:34:33 +10:00 |
|
Nigel Tao
|
496e88b6c5
|
Remove wuffs_base__token__link_prev
|
2020-04-09 22:11:08 +10:00 |
|
Nigel Tao
|
478d1b817c
|
Add doc/note/tokens.md
|
2020-04-08 23:31:18 +10:00 |
|
Nigel Tao
|
d83bd8d036
|
Add std/json quirk_allow_ascii_control_codes
|
2020-04-07 17:50:47 +10:00 |
|
Nigel Tao
|
6f67bbc4b2
|
Add std/json quirk_allow_backslash_new_line
|
2020-04-07 17:24:31 +10:00 |
|
Nigel Tao
|
2db72dabe5
|
Re-assign JSON quirk numbers
|
2020-04-07 17:17:54 +10:00 |
|
Nigel Tao
|
695a72a37c
|
Roll back 'factor out json.decoder.decode_string'
See the previous commit for the rationale.
|
2020-04-04 11:32:35 +11:00 |
|
Nigel Tao
|
86d3b89f9a
|
Factor out json.decoder.decode_string
This commit will soon be followed by a rollback, but it is committed
anyway so that we can refer to these numbers in the git log.
name old speed new speed delta
wuffs_json_decode_1k/clang5 607MB/s ± 0% 543MB/s ± 1% -10.68% (p=0.008 n=5+5)
wuffs_json_decode_21k_formatted/clang5 330MB/s ± 2% 320MB/s ± 3% ~ (p=0.056 n=5+5)
wuffs_json_decode_26k_compact/clang5 468MB/s ± 2% 434MB/s ± 1% -7.26% (p=0.008 n=5+5)
wuffs_json_decode_217k_stringy/clang5 391MB/s ± 1% 363MB/s ± 0% -7.03% (p=0.008 n=5+5)
wuffs_json_decode_1k/gcc7 715MB/s ± 0% 583MB/s ± 0% -18.38% (p=0.016 n=5+4)
wuffs_json_decode_21k_formatted/gcc7 403MB/s ± 0% 350MB/s ± 0% -12.94% (p=0.016 n=5+4)
wuffs_json_decode_26k_compact/gcc7 534MB/s ± 0% 420MB/s ± 1% -21.41% (p=0.008 n=5+5)
wuffs_json_decode_217k_stringy/gcc7 435MB/s ± 0% 359MB/s ± 0% -17.44% (p=0.008 n=5+5)
|
2020-04-04 11:32:35 +11:00 |
|
Nigel Tao
|
2db88dd98e
|
Fix -Wshadow warnings
|
2020-04-03 22:13:56 +11:00 |
|
Nigel Tao
|
1a1f36ce13
|
Disable clang's -Wunreachable-code warning
|
2020-04-03 21:57:49 +11:00 |
|
Nigel Tao
|
ecd3285567
|
Simplify a std/json while as an if
|
2020-04-03 12:35:18 +11:00 |
|
Nigel Tao
|
64dbd00b07
|
Rename wuffs_base__make_etc_buffer_{read,writ}er
|
2020-04-02 22:21:36 +11:00 |
|
Nigel Tao
|
462f86675d
|
Add an "extended token" concept
|
2020-04-02 11:20:45 +11:00 |
|
Nigel Tao
|
7edf71414f
|
Fix std/json replace_invalid_unicode copy/pasto
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21465
|
2020-03-31 22:37:43 +11:00 |
|
Nigel Tao
|
e2adb87cdd
|
Fix etc__parse_number_f64 goto-crosses-init
|
2020-03-31 22:28:19 +11:00 |
|
Nigel Tao
|
17944aae67
|
Optimize wuffs_base__parse_number_f64
name old time/op new time/op delta
strconv_parse_number_f64_1_lsh53_add0/clang5 100ns ± 0% 100ns ± 1% ~ (p=1.000 n=4+5)
strconv_parse_number_f64_1_lsh53_add1/clang5 741ns ± 1% 749ns ± 0% +1.05% (p=0.024 n=5+5)
strconv_parse_number_f64_pi_long/clang5 153ns ± 1% 153ns ± 0% ~ (p=0.238 n=5+4)
strconv_parse_number_f64_pi_short/clang5 62.0ns ± 2% 45.4ns ± 3% -26.77% (p=0.008 n=5+5)
strconv_parse_number_f64_1_lsh53_add0/gcc7 96.6ns ± 4% 95.8ns ± 1% ~ (p=0.794 n=5+5)
strconv_parse_number_f64_1_lsh53_add1/gcc7 757ns ± 0% 752ns ± 0% -0.63% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_long/gcc7 151ns ± 3% 162ns ± 0% +7.43% (p=0.016 n=5+4)
strconv_parse_number_f64_pi_short/gcc7 55.0ns ± 0% 49.0ns ± 2% -10.91% (p=0.000 n=4+5)
|
2020-03-31 22:20:01 +11:00 |
|
Nigel Tao
|
d587c9e4fa
|
Add medium-precision-binary floating point impl
name old time/op new time/op delta
strconv_parse_number_f64_1_lsh53_add0/clang5 218ns ± 1% 100ns ± 0% -54.13% (p=0.016 n=5+4)
strconv_parse_number_f64_1_lsh53_add1/clang5 716ns ± 2% 741ns ± 1% +3.46% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_long/clang5 438ns ± 2% 153ns ± 1% -65.19% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_short/clang5 174ns ± 2% 62ns ± 2% -64.37% (p=0.008 n=5+5)
strconv_parse_number_f64_1_lsh53_add0/gcc7 221ns ± 1% 97ns ± 4% -56.25% (p=0.008 n=5+5)
strconv_parse_number_f64_1_lsh53_add1/gcc7 742ns ± 1% 757ns ± 0% +2.02% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_long/gcc7 477ns ± 1% 151ns ± 3% -68.40% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_short/gcc7 191ns ± 1% 55ns ± 0% -71.14% (p=0.000 n=5+4)
|
2020-03-31 22:18:54 +11:00 |
|
Nigel Tao
|
f3146c2ea9
|
Add base.token_decoder.workbuf_len
|
2020-03-26 08:47:42 +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
|
58351d44da
|
Make endwhile mandatory for nameless loops
|
2020-03-25 21:40:00 +11:00 |
|
Nigel Tao
|
3c38f671fa
|
Remove empty "if (coro_susp_point) {}"
|
2020-03-25 21:24:00 +11:00 |
|
Nigel Tao
|
3bfed6d812
|
Rename std/json quirk_replace_invalid_utf_8
|
2020-03-24 17:44:47 +11:00 |
|
Nigel Tao
|
59eab68360
|
Fix -Werror=conversion in hexadecimal__decodeN
|
2020-03-24 17:22:17 +11:00 |
|
Nigel Tao
|
2ca0ef7bd5
|
Rename some std/json variables
|
2020-03-24 14:02:08 +11:00 |
|
Nigel Tao
|
93882564fd
|
Rename std/json quirk_allow_final_comma
|
2020-03-24 14:00:21 +11:00 |
|
Nigel Tao
|
d7c72373f3
|
Add std/json quirk_allow_inf_nan_numbers
|
2020-03-24 13:58:38 +11:00 |
|
Nigel Tao
|
b43e2493a2
|
Add std/json quirk_allow_final_comma
|
2020-03-22 21:42:15 +11:00 |
|
Nigel Tao
|
eb06ed77ba
|
Add std/json quirk_allow_comment_etc
|
2020-03-22 21:07:12 +11:00 |
|
Nigel Tao
|
21f6a5df4a
|
Add std/json CLASS_COMMENT
|
2020-03-21 22:33:39 +11:00 |
|