Nigel Tao
6ea09e0de4
Remove #ifdef MODULE_ETC guards for aux headers
2020-08-05 22:54:53 +10:00
Nigel Tao
cf6c578973
Add aux library
2020-08-04 23:43:38 +10:00
Nigel Tao
d6a10dfe8a
Add io_buffer.{read,writ}er_slice methods
2020-07-27 11:47:47 +10:00
Nigel Tao
137ca3ed73
Fix -Werror=conversion in std/cbor decode_tokens
2020-07-25 00:03:54 +10:00
Nigel Tao
a9668877b2
Fix -Werror=conversion in available_valid_utf_8
2020-07-25 00:01:14 +10:00
Nigel Tao
5a616b6693
Have std/cbor parse floating point numbers
2020-07-24 23:54:52 +10:00
Nigel Tao
c9e2010040
Tweak std/cbor TOKEN_VALUE_MINOR__ETC bits
2020-07-24 23:19:12 +10:00
Nigel Tao
042e94f304
Have std/cbor parse simple values
2020-07-24 23:14:27 +10:00
Nigel Tao
271680333e
Have std/cbor parse tags
2020-07-24 15:54:44 +10:00
Nigel Tao
f8dfc76310
Have std/cbor parse objects
2020-07-24 11:41:22 +10:00
Nigel Tao
b33631d307
Have std/cbor parse arrays
2020-07-23 21:56:53 +10:00
Nigel Tao
1d89fd5915
Have std/cbor reject nested indefinite-len strings
2020-07-22 23:14:29 +10:00
Nigel Tao
c0ffa2a2d5
Simplify std/cbor string token length calculation
2020-07-22 21:53:31 +10:00
Nigel Tao
70c42bff10
Break std/cbor string tokens on UTF-8 boundaries
2020-07-22 21:50:51 +10:00
Nigel Tao
702c7b299f
Let wuffs_base__utf_8__etc take ptr-to-const-u8
2020-07-22 15:42:54 +10:00
Nigel Tao
900926b464
Tweak std/cbor token bits
2020-07-21 23:10:16 +10:00
Nigel Tao
850dc18d16
Have std/cbor produce extended inline integers
2020-07-21 22:52:04 +10:00
Nigel Tao
c9d4e34dfc
Split ETC__VBC__INLINE_INTEGER into {,un}signed
2020-07-21 15:31:49 +10:00
Nigel Tao
d191a3fc5f
Have std/cbor parse text strings
2020-07-19 22:17:48 +10:00
Nigel Tao
c4fa8e27c0
Rename the "Eisel" algorithm to "Eisel-Lemire"
2020-07-18 17:35:13 +10:00
Nigel Tao
af75772cc2
Have std/cbor parse byte strings
2020-07-18 17:27:11 +10:00
Nigel Tao
f52e081f1e
Add WUFFS_BASE__X64__BYTE_LENGTH__MAX_INCL comment
2020-07-16 21:30:01 +10:00
Nigel Tao
664f8431d2
Have std/cbor parse negative integers
2020-07-16 21:25:14 +10:00
Nigel Tao
fca9a36252
Shrink cbor.decoder.decode_tokens coroutine state
2020-07-15 14:16:42 +10:00
Nigel Tao
31674f9bd2
Let skip_u32_fast take non-constant arguments
2020-07-15 14:10:43 +10:00
Nigel Tao
4e193599ac
Add std/cbor
2020-07-15 14:08:37 +10:00
Nigel Tao
e917884d6c
Add wuffs_base__base_16__encodeN
2020-07-14 16:35:13 +10:00
Nigel Tao
56d9096f81
Fix -Werror=conversion in from_f64_to_u{16,32}
2020-07-12 21:11:49 +10:00
Nigel Tao
a3931d5215
Rename IEEE 754 from_f64_to_u{16,32} functions
2020-07-12 21:06:44 +10:00
Nigel Tao
0d90b270ea
Reorganize internal/cgen/base/strconv-public.h
2020-07-12 17:03:53 +10:00
Nigel Tao
7bf7cf28b9
Add IEEE 754 from_f64_to_u{16,32} functions
2020-07-12 17:01:14 +10:00
Nigel Tao
0899b82c42
Add IEEE 754 from_u{16,32}_to_f64 functions
2020-07-12 13:23:04 +10:00
Nigel Tao
4d449dc663
Rename ieee_754_bit_representation functions
2020-07-12 11:00:47 +10:00
Nigel Tao
229a0c5af4
wuffs gen -version=0.3.0-alpha.10
2020-07-11 13:18:58 +10:00
Nigel Tao
c5c9885db4
Add PARSE_NUMBER_XXX__ALLOW_UNDERSCORES
2020-07-11 13:10:14 +10:00
Nigel Tao
e82bc8ec7b
Add PARSE_NUMBER_XXX__ALLOW_MULTIPLE_LEADING_Z...
2020-07-11 12:57:25 +10:00
Nigel Tao
4d61a056e0
Add PARSE_NUMBER_FXX__REJECT_INF_AND_NAN
2020-07-11 12:34:40 +10:00
Nigel Tao
e0c5de9d8d
Add PARSE_NUMBER_FXX__DECIMAL_SEPARATOR_IS_A_COMMA
2020-07-11 12:14:39 +10:00
Nigel Tao
4ed17ada9f
wuffs gen -version=0.3.0-alpha.9
2020-07-10 20:35:06 +10:00
Nigel Tao
e722bb095c
Fix #ifdef guarding the use of __uint128_t
2020-07-10 20:33:09 +10:00
Nigel Tao
bfd0655944
wuffs gen -version=0.3.0-alpha.8
2020-07-10 12:52:53 +10:00
Nigel Tao
f9a90f1c5e
Add explicit cast to size_t in base_64 codec
2020-07-10 12:45:16 +10:00
Nigel Tao
bff01d7ea8
Add comment linking to previous commit's numbers
2020-07-10 12:15:09 +10:00
Nigel Tao
18449ad75d
Optimize 128-bit muls in parse_number_f64_eisel
...
Processing citylots.json from github.com/zemirco/sf-city-lots-json
$ cc -O3 script/process-json-numbers.c
$ time ./a.out --parse-number-f64 < citylots.json
gcc 9.3 Before/After
real 0m0.638s
real 0m0.609s
clang 9.0 Before/After
real 0m0.692s
real 0m0.685s
x86_64 Broadwell desktop CPU.
2020-07-10 12:11:26 +10:00
Nigel Tao
74d4af66e4
Refactor 128-bit muls in parse_number_f64_eisel
2020-07-10 11:27:17 +10:00
Nigel Tao
15cc8502b1
Add token enums for base-32 codecs
2020-07-09 21:23:38 +10:00
Nigel Tao
ca55cdbef0
Rename {f64,i64}conv to {float,int}conv
2020-07-09 21:15:36 +10:00
Nigel Tao
e0ca5a4c3c
Have base_16 codec return a transform__output
2020-07-09 21:09:19 +10:00
Nigel Tao
309a5ba231
Add base_64 codec to wuffs_base
2020-07-09 20:42:17 +10:00
Nigel Tao
540a3b51e0
Run "wuffs gen" missed for b15a0fc3
...
Commit b15a0fc349 is "Add more
parse_number_f64_eisel comments". I forgot to run "wuffs gen" after
updating a comment.
2020-07-09 11:18:49 +10:00