DerekRies/entito

Entity Component Query Improvements

Closed this issue · 1 comments

Initial Improvement (without reconsidering the underlying data-structure) is just to use a 64 bit number (or two) to specify what components an entity has, and then bitmasking with the query to do a quick check instead of iterating through all the components on the entity.

Completed the first implementation of the bitmasking improvement in most recent commit (0c01b5f). But because it's only a 64bit number that means the maximum number of component types is 64, anything more will cause the system to fail.