mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
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:
1 parent
2104205d25
commit
50db4a47fb
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user