Amanieu / intrusive-rs

Intrusive collections for Rust
Apache License 2.0
400 stars 47 forks source link

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

Open alkis opened 6 years ago

alkis commented 6 years ago

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 commented 6 years ago

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