|
|
|
|
|
by harto
6057 days ago
|
|
The section "The Slow Loop" posits that many for-loops in the library are much slower than they could be because they "[look] up the .length property of the array ... each time through the loop". I wonder what the performance difference is in terms of referencing a local var vs. referencing an object property? Surely it's negligible? |
|