To optimize each loop.
EvgenyKarkan opened this issue · 4 comments
EvgenyKarkan commented
Every single loop will be faster without any additional computations and methods call.
E.g "[array count]" in loop such as "for (NSUinteger i = 0; i < [array count]; i++)" should be extracted to independent local variable NSUinteger counter = [array count].
So the loop will be faster & look like "for (NSUinteger i = 0; i < counter; i++)".
stanislaw commented
I believe we can close this, as the most of such cases are fixed.
EvgenyKarkan commented
Ok, let it be so. ;)
stanislaw commented
They really are, I've just fixed the last two loops. Looks like it is done.
EvgenyKarkan commented
Reopened cuz we have a bunch of stuff to do.