Virtual dedicated hosting
I tested a few looping techniques in the past, but I found a benchmark page which shows over 40 looping techniques and their running times. You can find the benchmark over here.
Has this article been helpful to you? Digg it, del.ico.us it or Stumble it.
very interesting. I guess I’m going to cache the array length from now on, especially on elements collection. I just checked out at mootools source code for the each() function, and that’s what it does, woot.