Skip to content

v0.4.0

Latest

Choose a tag to compare

@NirBarak-RecoLabs NirBarak-RecoLabs released this 28 Aug 12:43
45b84b4

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.
  • npm: gnata-js@0.4.0