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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changes
EvalBytes/EvalMap's gjson fast path now auto-maps through JSON arrays (pure-path, comparison, $exists, $contains, and the numeric aggregates $sum/$count/$min/$max/$average) instead of falling back to a full document decode whenever the path crosses an array.
Add EvalBytesWithCustomFuncs and EvalBytesWithCustomEnvironmentAndVars, mirroring the existing decoded-input EvalWithCustomFuncs/EvalWithCustomEnvironmentAndVars, so custom-function callers can stay on the byte fast path too.
Smaller per-eval Environment allocation: bindings are stored inline for the common case of two or fewer names, only spilling to a map on overflow.