Open in app
Sander Mertens
390 Followers
About

Sign in

390 Followers
About
Open in app
Sander Mertens

Sander Mertens

Aug 11, 2020·1 min read

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.

Sander Mertens

…is 0-sized then no storage is allocated at all beyond the low-depth treemap for the seconday index, which is sized based on how many entities have that component.

There is a significant amount of outright wrong information in this post, unsure if it's because of…
9

OvermindDL1

More from Sander Mertens

More From Medium

Flecs v2.3 (and v2.2) is out!

Sander Mertens

A closer look at bake: a tool that makes building C/C++ code effortless

Sander Mertens

Why Vanilla ECS Is Not Enough

Sander Mertens

Doing a lot with a little: ECS identifiers

Sander Mertens

ECS: From Tool to Paradigm

Sander Mertens

Deconstructing Flecs Prefabs

Sander Mertens

Why Storing State Machines in ECS is a bad idea.

Sander Mertens

8 Things Christians Say That Just Ain’t True

Jonathan Poletti in 𝘽𝙚𝙡𝙤𝙫𝙚𝙧

About

Help

Legal

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