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

Compiler: ignore objects #744

Open
josephjclark opened this issue Aug 14, 2024 · 0 comments
Open

Compiler: ignore objects #744

josephjclark opened this issue Aug 14, 2024 · 0 comments

Comments

@josephjclark
Copy link
Collaborator

A good optimisation in the compiler would be to ignore structures like objects, which we don't really do anything with.

Parsing large JSON objects is very intensive for the compiler.

What we'd ideally do is make the visitor quit when it starts traversing a structure like an object.

Counter point: we do need to support lazy state in object properties. Oh but not in a callback. So in some places yeah, we might be able to exit early.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant