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: Improve narrowphase and realistic solver performance #3114

Closed eonarheim closed 4 months ago

eonarheim commented 4 months ago

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

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

Closes #3006 thanks @ikudrickiy!

This PR implements a lot of low hanging fruit optimizations to the narrowphase and realistic solver.

Notably:

Also this fixes a bug in the new physics config merging, and re-arranged to better match the existing pattern

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

Deploying excaliburjs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 970aa48
Status: ✅  Deploy successful!
Preview URL: https://f86b30d0.excaliburjs.pages.dev
Branch Preview URL: https://perf-narrowphase.excaliburjs.pages.dev

View logs