« * K @littlepolygon.bsky.social

Max! @littlepolygon.bsky.social

2026-11-27 18:13 UTC

So when you Release() a handle, the sparse-array-slot becomes a tombstone that's added to a freelist for reallocation (with the lifecycle counter bumped), and the compact array is either downshifted or swapped-with-tail (depending if order matters) to close gaps, with relevant indices updated.

A reply in a thread.

1 likes, 0 reposts, 1 replies

3 Next post4 More from @littlepolygon.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup