Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the On Demand depth model #1533

Open
lemire opened this issue Mar 31, 2021 · 0 comments
Open

Document the On Demand depth model #1533

lemire opened this issue Mar 31, 2021 · 0 comments
Labels
on demand Related to simdjson::ondemand functionality

Comments

@lemire
Copy link
Member

lemire commented Mar 31, 2021

The On Demand front-end depends crucially on how it tracks the current depth. An improper depth state can break the parsing. I think that before we release 1.0, we should have a clearly documented model of how the depth is meant to change.

Furthermore, we should also clearly document the depth and positions at different stages where the user is handed back control.

I got started with a wiki at https://github.com/simdjson/simdjson/wiki/OnDemand-logic

@lemire lemire added the on demand Related to simdjson::ondemand functionality label Mar 31, 2021
@lemire lemire added this to the 1.0 milestone Mar 31, 2021
@lemire lemire modified the milestones: 1.0, 2.0 Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on demand Related to simdjson::ondemand functionality
Projects
None yet
Development

No branches or pull requests

1 participant