You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regex only needs to get called when there's a double quote somewhere
in the input.
Benchmarks below are for the two cases: When there's no double quote, we
skip the regex and go fast. When there is a double quote, we run the
regex and go slow.
test bench_get_json_pointer ... bench: 96 ns/iter (+/- 1)
test bench_get_json_pointer_with_map ... bench: 518 ns/iter (+/- 18)
0 commit comments