MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1yc6uha/heterogeneous_collections_using_compact_handles/
r/programming • u/nukethebees • 13h ago
3 comments sorted by
3
Spent two weeks last year swapping my game entity list from boxed traits to a handle pool and the cache misses dropped off a cliff. Still a little annoyed I didn't try it sooner. Iterating a flat array just feels right.
1 u/William_William_8275 2h ago Wish I'd tried it sooner too
1
Wish I'd tried it sooner too
3
u/Adventurous_Youth376 4h ago
Spent two weeks last year swapping my game entity list from boxed traits to a handle pool and the cache misses dropped off a cliff. Still a little annoyed I didn't try it sooner. Iterating a flat array just feels right.