Sparse sets have a dense array, which is the sized to store the number of entities in the set, and a sparse array, which is the size of the max used entity id.

If this is not correct, then point me towards the part of EnTT that shows how it's done differently, and I'll change it.

--

--

--

I write lots of code.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sander Mertens

Sander Mertens

I write lots of code.

More from Medium

🦀Ukrainian branch of Rust Community 💙💛

Happy Working Mom of 3 at Confio

The Independent DevX Initiative

Citizen Cosmos; Archway, incentivized contracts & developers