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

Feature: clear #64

Open
Ddystopia opened this issue May 19, 2024 · 0 comments
Open

Feature: clear #64

Ddystopia opened this issue May 19, 2024 · 0 comments

Comments

@Ddystopia
Copy link

Hello, it would be really great to have ability to clear arena but not free allocated memory, taking &mut to arena so no allocated data will ever be accessed. This should not be a burden to implement, just call clear for every underlying vector and storing Cell<usize> to point at chunk, which will get reset to 0.

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

No branches or pull requests

1 participant