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
EvalBytesWithCustomFuncsandEvalBytesWithCustomEnvironmentAndVars, mirroring the existing decoded-inputEvalWithCustomFuncs/EvalWithCustomEnvironmentAndVars, so custom-function callers can stay on the byte fast path too. - Smaller per-eval
Environmentallocation: bindings are stored inline for the common case of two or fewer names, only spilling to a map on overflow. - npm:
gnata-js@0.4.0