Open in app
Sander Mertens
374 Followers
About

Sign in

374 Followers
About
Open in app

…not an answer to cache misses. My game runs 98,000 entities just for the terrain grid in edit mode. That's a lot to iterate through every time I want to query a state for one pawn! We need tagging and querying for arbitrary numbers…

For general use during program life, say, running your game, the archetype-based ECS coverage in…
3

Jeremyp Harford

Sander Mertens

Sander Mertens

Aug 13, 2020·1 min read

Note that you'd use the linked list to iterate through entities of a single state! If you want to iterate all entities, iteration is just like iterating over a regular dense array.

Written by

Sander Mertens

More from Sander Mertens

More From Medium

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

Sander Mertens

Deconstructing Flecs Prefabs

Sander Mertens

Doing a lot with a little: ECS identifiers

Sander Mertens

Why Vanilla ECS Is Not Enough

Sander Mertens

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

Sander Mertens

Why Storing State Machines in ECS is a bad idea.

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