Open in app
Sander Mertens
374 Followers
About

Sign in

374 Followers
About
Open in app

… to test each archetype set to see if it needs to iterate it (just a full straight array iteration) means that archetypes have even more cost there, compounded by the number of variations of used component combinations.

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

Flecs, and I imagine most archetype-based solutions rely on persistent queries, which means that you register a query with the world, and register archetypes with them as they are created. Therefore when you're iterating, you don't need to perform any searching: you just iterate contiguous arrays.

Written by

Sander Mertens

More from Sander Mertens

More From Medium

Doing a lot with a little: ECS identifiers

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

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

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