LifeEngine
LifeEngine copied to clipboard
Improve performance
I profile TLE execution and noticed that it spent a lot of time in isValidLoc
.
Thus I modified the GridMap
class to avoid these checks.
It relies on optional chaining, which is not supported in webpack 4, so I bumped it.
I also shipped a couple of tweaks that made my life easier while developing. Let me know if you want me to remove them.
👏👏👏👏👏