Nigel Tao
|
cd4cbc9102
|
Tweak JSON trailing comment/new-line quirks
|
2020-09-22 23:03:49 +10:00 |
|
Nigel Tao
|
fa50f4de67
|
Add json QUIRK_ALLOW_TRAILING_COMMENT
|
2020-09-21 11:24:22 +10:00 |
|
Nigel Tao
|
6c13877688
|
Drop WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_X_AS_BYTES
We can always add it back later if there's demand for it.
|
2020-08-30 16:15:35 +10:00 |
|
Nigel Tao
|
6bc3f5716d
|
Add "#json: bad new-line in a string"
|
2020-08-29 23:23:15 +10:00 |
|
Nigel Tao
|
4284369bb8
|
Add TOKEN__VBD__FILLER__PUNCTUATION
|
2020-08-17 16:48:30 +10:00 |
|
Nigel Tao
|
be8542e313
|
Rename I/O available methods to length
|
2020-08-13 23:26:08 +10:00 |
|
Nigel Tao
|
7a5e89115d
|
Fix -Werror=conversion in std/json decode_tokens
|
2020-08-06 23:55:03 +10:00 |
|
Nigel Tao
|
1adbc9547f
|
Split std/json's QUIRK_ALLOW_BACKSLASH_X in two
|
2020-08-06 23:28:07 +10:00 |
|
Nigel Tao
|
84bb3afd87
|
Lower json.DECODER_NUMBER_LENGTH_MAX_INCL to 99
Commit b9f69264a0 "Raise
json.DECODER_NUMBER_LENGTH_MAX_INCL to 2047" might have regressed the
std/json benchmarks.
|
2020-07-07 23:29:30 +10:00 |
|
Nigel Tao
|
b9f69264a0
|
Raise json.DECODER_NUMBER_LENGTH_MAX_INCL to 2047
|
2020-07-07 23:08:11 +10:00 |
|
Nigel Tao
|
b9afc26387
|
Add TOKEN__VBD__STRING__CHAIN_ETC
|
2020-07-03 13:36:13 +10:00 |
|
Nigel Tao
|
4e2d0c1e5f
|
Cgen explicit type cast for (CONSTANT >> x)
|
2020-06-10 10:32:13 +10:00 |
|
Nigel Tao
|
66b0a12b6c
|
Add json.EXPECT_ETC constants
|
2020-06-09 23:50:35 +10:00 |
|
Nigel Tao
|
3d31ac03eb
|
Add base.TOKEN__ETC constants
|
2020-06-09 23:34:42 +10:00 |
|
Nigel Tao
|
8b70ad0565
|
Rename skip32 to skip_u32
|
2020-05-27 23:29:20 +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
|
496e88b6c5
|
Remove wuffs_base__token__link_prev
|
2020-04-09 22:11:08 +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
|
88a449e3d7
|
Add perf comment to json.decoder.decode_string
|
2020-04-04 11:41:09 +11: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
|
ecd3285567
|
Simplify a std/json while as an if
|
2020-04-03 12:35:18 +11:00 |
|
Nigel Tao
|
3fe3f84106
|
Add double-curly blocks
|
2020-04-02 21:56:53 +11:00 |
|
Nigel Tao
|
3456f39f9d
|
Rename token_writer.write_fast_token
|
2020-04-02 12:26:57 +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
|
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
|
9e50918718
|
Add single-quoted strings
|
2020-03-25 19:41:02 +11:00 |
|
Nigel Tao
|
3bfed6d812
|
Rename std/json quirk_replace_invalid_utf_8
|
2020-03-24 17:44:47 +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 |
|
Nigel Tao
|
502c8eff56
|
Add std/json quirk_allow_backslash_x
|
2020-03-21 21:42:30 +11:00 |
|
Nigel Tao
|
83e7da0a6a
|
Add std/json quirk_allow_backslash_capital_u
|
2020-03-19 23:20:45 +11:00 |
|
Nigel Tao
|
97f7f28218
|
Add std/json backslash-related quirks
|
2020-03-19 15:56:21 +11:00 |
|
Nigel Tao
|
b86373aff5
|
Add io_reader.peek_u64le_at
|
2020-03-19 11:33:22 +11:00 |
|
Nigel Tao
|
31cfaaeb4e
|
Add std/json quirk_replace_invalid_utf_8
|
2020-03-19 10:37:18 +11:00 |
|
Nigel Tao
|
4b186b0b6b
|
Add std/json quirk_allow_trailing_etc
|
2020-03-18 16:42:06 +11:00 |
|
Nigel Tao
|
3a75d9746e
|
Add std/json quirk_allow_leading_etc
|
2020-03-18 13:15:04 +11:00 |
|
Nigel Tao
|
791437bb47
|
Have std/json return base."@end of data"
|
2020-03-17 21:21:39 +11:00 |
|
Nigel Tao
|
07d99dc2e1
|
Update some RFC links
|
2020-03-12 16:58:38 +11:00 |
|
Nigel Tao
|
c3ca77a539
|
Add WUFFS_BASE__TOKEN__VBD__NUMBER__FORMAT_ETC
|
2020-03-11 12:06:50 +11:00 |
|