2 ms·
Which is why you implement a doubly linked list using data indices in a Vec<Node>. The resulting data structure is fully safe and resembles an ECS.
by ZirconiumX 7y ago
Which is why you implement a doubly linked list using data indices in a Vec<Node>. The resulting data structure is fully safe and resembles an ECS.
- dmitrygr 7y agoAnd features an extra level of indirection for your CPU's dcache prefetch predictor to trip over
- deleted 7y ago[deleted]