Currently when a new archetype is created, it iterates over all systems and caches which ones match it.
A more clever idea involves creating graphs similar to the archetype tree, for what systems should be tracked, untracked, or triggered when a component gets added or removed.
Currently when a new archetype is created, it iterates over all systems and caches which ones match it.
A more clever idea involves creating graphs similar to the archetype tree, for what systems should be tracked, untracked, or triggered when a component gets added or removed.