excaliburjs / Excalibur

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

perf: Reduce allocations on the hot path #3111

Closed eonarheim closed 4 months ago

eonarheim commented 4 months ago

===:clipboard: PR Checklist :clipboard:===

==================

This PR takes a stab at a lot of the hot path allocations in excalibur improving performance significantly (numbers will be forthcoming with the new broadphase updates)

cloudflare-workers-and-pages[bot] commented 4 months ago

Deploying excaliburjs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 916e0da
Status: ✅  Deploy successful!
Preview URL: https://913c8c9e.excaliburjs.pages.dev
Branch Preview URL: https://perf-reduce-allocations.excaliburjs.pages.dev

View logs