Open in app
Sander Mertens
374 Followers
About

Sign in

374 Followers
About
Open in app

…d on the information the article itself supplied a couple paragraphs above of how sparse sets work. A single entity stored in a component sparse set, no matter if it's index is 0 or 2 billion, will still only use memory the size of a single component, it is not allocating everything from 0 to that point, it is not an array, think of it as a more ef…

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

OvermindDL1

Sander Mertens

Sander Mertens

Aug 11, 2020·1 min read

Having implemented sparse sets myself, I don't think this is correct. You may store the component only once, but the sparse array needs to be large enough so that I can use the entity id as array index.

Written by

Sander Mertens

More from Sander Mertens

More From Medium

Doing a lot with a little: ECS identifiers

Sander Mertens

Deconstructing Flecs Prefabs

Sander Mertens

Why Storing State Machines in ECS is a bad idea.

Sander Mertens

Why Vanilla ECS Is Not Enough

Sander Mertens

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

I Was Crushed When I Discovered I Was His “Third Tier” Girl

Elle Silver in The Virago

You don’t behave this way when you love someone

E.B. Johnson, NLP-MP in LV Development

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