Inline example/jsonptr's handle_token

On a mid-range x86_64 laptop, processing the 181 MiB citylots.json file
from github.com/zemirco/sf-city-lots-json:

$ time gen/bin/example-jsonptr < citylots.json > /dev/null
Before this commit:
real    0m1.911s
After:
real    0m1.799s
Ratio: 1.06x
This commit is contained in:
Nigel Tao committed 2020-08-20 11:31:28 +10:00
1 parent 2104205d25
commit 50db4a47fb
1 file changed
+1 -1
+1 -1
View File
@@ -971,7 +971,7 @@ handle_unicode_code_point(uint32_t ucp) {
// ----
const char* //
inline const char* //
handle_token(wuffs_base__token t, bool start_of_token_chain) {
do {
int64_t vbc = t.value_base_category();