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

Use a bump / arena memory allocator #63

Open
ahdinosaur opened this issue Sep 21, 2023 · 0 comments
Open

Use a bump / arena memory allocator #63

ahdinosaur opened this issue Sep 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ahdinosaur
Copy link
Owner

Is your feature request related to a problem? Please describe.
Since Rimu is a template language, all the objects allocated during evaluation can be de-allocated after the result is returned (serialized). This means no need for a garbage collector and no need even for a standard heap allocator. Rimu may benefit from a bump / arena allocator.

Describe the solution you'd like
Investigate using bumpaloo, or another bump / arena allocator.

Describe alternatives you've considered

Additional context

@ahdinosaur ahdinosaur added the enhancement New feature or request label Sep 21, 2023
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

1 participant