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

Streaming scanner / parser #7046

Open
anderseknert opened this issue Sep 20, 2024 · 0 comments
Open

Streaming scanner / parser #7046

anderseknert opened this issue Sep 20, 2024 · 0 comments

Comments

@anderseknert
Copy link
Member

anderseknert commented Sep 20, 2024

The scanner feeding the parser currently reads the entire stream of bytes from the reader passed rather than using it to scan / parse incrementally. While the memory / performance benefits of parsing incrementally likely are small, the cost of parsing tends to add upp for projects where parsing is done all the time across a large number of files — like the Regal language server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant