shapez.io
shapez.io copied to clipboard
Refactor: Entity Arrays => Sets, faster loads & copy/paste
trafficstars
This PR moves all instances of entity iteration by replacing entity arrays with es6 sets. This provides significant performance boosts during operations such as copy and paste, and loading/saving.
This is on my todo list, since its so big it will take a bit of time to review though! Thanks for the effort so far!
Hi! This branch has been updated to address comments and keep up to date with upstream changes