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

option that requires slab and uses usize as pointers? #14

Open
alkis opened this issue Nov 30, 2017 · 1 comment
Open

option that requires slab and uses usize as pointers? #14

alkis opened this issue Nov 30, 2017 · 1 comment

Comments

@alkis
Copy link

alkis commented Nov 30, 2017

What do you think about a parallel library to this that requires the use of Slab(s) and uses usize as pointers to other nodes?

This eliminates the lifetime pollution when implementing with a Slab/Arena as backing store and makes the top level container much more ergonomic.

@Amanieu
Copy link
Owner

Amanieu commented Nov 30, 2017

Have a look at the EntityMap used by cretonne: https://github.com/stoklund/cretonne/tree/master/lib/cretonne/src/entity

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

2 participants