Skip to content

refactor: getAllEntititesWith method improvement #377

@iMeaNz

Description

@iMeaNz

Objective

I just thought about that but getAllEntititesWith method is highly inneficient. For now we are retrieving every living entites and comparing its signature to the one generated based on the components queried.
But all we have to do is to get the smallest component array of the components queried, and check only those entities !

Acceptance Criteria

  • 1. Retrieve the smallest component array
  • 2. Check only those entities

Dependencies

No response

Technical Details

No response

Type

Engine

Metadata

Metadata

Assignees

Labels

ecsThis issue concerns the ECS part of the engineenhancementNew feature or request

Type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions