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

Consider using the arena allocator for the AST #284

Open
39555 opened this issue Dec 1, 2024 · 0 comments
Open

Consider using the arena allocator for the AST #284

39555 opened this issue Dec 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@39555
Copy link
Contributor

39555 commented Dec 1, 2024

I tried using the bumpalo allocator for my pseudo expression language for the example in winnow winnow-rs/winnow#620. It has significant impact on the AST construction performance. However, it can sometimes feel too verbose due to the lifetimes

@reubeno reubeno added the enhancement New feature or request label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants