Open code423n4 opened 2 years ago
Cache for loop condition. It's better to cache the length instead of using .length in for loops conditions.
.length
Use inline methods. The following methods are internal an called only once.
Both suggestions are valid, although the second suggestion reduces readability, hence we might continue with the current structure
Cache for loop condition. It's better to cache the length instead of using
.length
in for loops conditions.Use inline methods. The following methods are internal an called only once.