Skip to content

v0.26.0 — parser memory and lifecycle improvements

Choose a tag to compare

@odvcencio odvcencio released this 11 Jul 19:10
82d7267

v0.26.0 improves parser memory retention, result-ranking overhead, and
extension-registry lifecycle safety.

  • Extension grammar generation is synchronized and memoized, including
    failures, and same-name registry replacement refreshes pooled parsers.
  • Bounded field-metadata sidecars shrink Node from 144 to 104 bytes.
    ArenaBreakdown now reports their allocation separately.
  • Inline error-rank caching reduced the pinned full-parse benchmark from
    7.813 ms to 6.750 ms and allocations from 100 to 30 per operation.
  • Parser-only raw-shape storage is reclaimed after finalization. The
    hard-2-GiB Poppler probe retained exactly 192 MiB less post-GC heap with
    exact deep C parity; peak RSS is not claimed as improved.

Full changelog: v0.25.0...v0.26.0