-
Notifications
You must be signed in to change notification settings - Fork 219
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
Remove generational arenas #15
Labels
Comments
@f01dab1e please give this a try when you are free! |
la-arena is here: https://docs.rs/la-arena/latest/la_arena/ fyi |
We never free these items so we can just use |
5 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 16, 2024
# Description ## Problem\* Resolves #15 (comment) ## Summary\* Replaces `generational-arena`'s `Arena` class with a thin wrapper around `Vec` ## Additional Context The thin wrapper is helpful for: 1. `insert` returning the index 2. `iter` iterating over the `(index, item)` pairs ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [ ] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: kevaundray <kevtheappdev@gmail.com> Co-authored-by: Jake Fecher <jfecher11@gmail.com> Co-authored-by: jfecher <jake@aztecprotocol.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the use-case it is possible to opt for a simpler arena implementation like la-arena. Which also allows you to tag your data structure.
The text was updated successfully, but these errors were encountered: