Amanieu / intrusive-rs

Intrusive collections for Rust
Apache License 2.0
423 stars 50 forks source link

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

Open alkis opened 7 years ago

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

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