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
Bug#25418534: JSON_EXTRACT USING WILDCARDS TAKES FOREVER
Patch #10:
Split up seek_no_dup_elimination() in multiple helper functions (one
per path leg type) to avoid having to go through the same switch
statement over and over again when processing wildcards or ellipses.
In json_binary::Value, make all the member variables non-const. This
allows us to skip initialization of member variables that are not
used. It also allows us to remove the custom assignment operator that
works around the constness.
Microbenchmarks (64-bit, Intel Core i7-4770 3.4 GHz, GCC 6.3):
BM_JsonBinarySearchEllipsis 8902 ns/iter [+89.8%]
BM_JsonBinarySearchEllipsis_OnlyOne 80 ns/iter [ -7.5%]
BM_JsonBinarySearchKey 72 ns/iter [ -6.9%]
Change-Id: I975da622899ff2eddc5505d9d9759996bf3d878e
0 commit comments