MidLevel/Ruffles

Ruffles logic loop optimization

TwoTenPvP opened this issue ยท 1 comments

The current Ruffles logic loop iterates the the whole Connections array about 7 times. Performing null and dead checks for each.

This could be reduced by either pre-caching the connected connections, or exiting once the last connected is reached.

It could be further reduced by merging the loops and nullchecks into a single loop.

๐ŸŽ‰ This issue has been resolved in version 8.0.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€