On Friday, 26 August 2016 at 19:55:30 UTC, vladdeSV wrote:
What I can conclude so far is my approach uses a lot of processing power. I did a test where I generated 10000 entities and it drained my CPU to 50%.

All feedback is appreciated. Thank you for your input :)

hasComponent()/getComponent() should be O(1) and preferrably CTFEable.

You could turn Entity into a template, or store a bitmask of applied Components etc.

Reply via email to