Skip to content

Conversation

@ReDTerraN
Copy link
Contributor

Instead of declaring the variables, changing them inside the for loop and using them once.
We streamline it to directly call what is taken as arguments to the function. Instead of redeclaring _index with the new value we directly call _index to be increased by one. Providing us with a small performance increase when running the function.

Cheers

@greymd greymd merged commit dbe36af into greymd:master Apr 6, 2023
@greymd
Copy link
Owner

greymd commented Apr 6, 2023

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants