News for hackers. Stuff that matters.
Re:Why bother with a CSS build process? by t0f3rchr15 on Tuesday February 05, 2013 @11:11AM (#5171378)
Another way to cut down on overhead is in the php for loops. If the page has many images to load, the size of the array will be large and sizeof() will be called every iteration of the loop. Instead, use for($m = 0, $mm = sizeof(array); $m < $mm; $m++), or set a variable to the size of the array before the loop. This way, the sizeof() method is only called once. http://php.net/manual/en/function.sizeof.php

There are no comments on this comment yet.