They both are bringing concepts from relational algebra/databases into memory management for globals, but different parts:
An ECS is fundamentally a column store for one really wide table. It’s optimized for performing batch operations on sparsely-populated columns in that table.
This is more like defining a database index: these dictionaries are using some kind of computed result as the key, allowing you to lookup objects by this result without a linear scan through all relevant objects.
An ECS is fundamentally a column store for one really wide table. It’s optimized for performing batch operations on sparsely-populated columns in that table.
This is more like defining a database index: these dictionaries are using some kind of computed result as the key, allowing you to lookup objects by this result without a linear scan through all relevant objects.