NateTheGreatt / bitECS

Flexible, minimal, data-oriented ECS library for Typescript
Mozilla Public License 2.0
942 stars 84 forks source link

memoize queries per world #80

Closed NateTheGreatt closed 2 days ago

NateTheGreatt commented 2 years ago

currently defining a query with the same components as a previously defined query will create an entirely new query instead of reusing the previously defined query. should instead reuse the previously defined query

NateTheGreatt commented 2 days ago

https://github.com/NateTheGreatt/bitECS/tree/rc-0-4-0