Module rsonpath_lib::stackless

source ·
Expand description

Stackless implementation of a JSONPath query engine.

Core engine for processing of JSONPath queries, based on the Stackless Processing of Streamed Trees paper. Entire query execution is done without recursion or an explicit stack, linearly through the JSON structure, which allows efficient SIMD operations and optimized register usage.

This implementation should be more performant than stack_based even on targets that don’t support AVX2 SIMD operations.

Structs

Stackless runner for a fixed JSONPath query.