MiSawa / xq

Pure rust implementation of jq
MIT License
333 stars 18 forks source link

Rework on data structures #5

Closed MiSawa closed 3 years ago

MiSawa commented 3 years ago

I have an idea of making a faster stack that can be used as the persistent stack of vm. It exploits the structure of query pattern to the stack.

We use three stacks, one for the real stack, another for the persisted token stack, and another for the undos.