3 ms·
> That looks like an allocating container Depends what you mean by that. It has 2 pointer to other nodes and element on the heap (EDIT: Not stack). It's bog st
by Ygg2 4y ago
> That looks like an allocating container
Depends what you mean by that. It has 2 pointer to other nodes and element on the heap (EDIT: Not stack). It's bog standard double linked list.
If you're looking for intrusive lists those a very niche data structure.
https://docs.rs/intrusive-collections/latest/intrusive_collections/index.html https://docs.rs/intrusive-collections/latest/intrusive_colle...