excaliburjs / Excalibur

🎮 Your friendly TypeScript 2D game engine for the web 🗡️
https://excaliburjs.com
BSD 2-Clause "Simplified" License
1.82k stars 188 forks source link

Update killQueue's to use hash lookups #996

Closed eonarheim closed 3 years ago

eonarheim commented 6 years ago

Context

Currently we do some inefficent add/removes in the kill queue, @kamranayub suggested switching to hash maps to get us to O(1) performance

Proposal

See https://github.com/excaliburjs/Excalibur/pull/985#discussion_r184852939

github-actions[bot] commented 3 years ago

This issue hasn't had any recent activity lately and is being marked as stale automatically.