Hello everyone! This entry is for web developers or those who are playing around with PHP.
Every programmer is evolving in phases. Let's says that last phase is trying to make code as much efficient as possible. Part of this process is benching compiler to define what is most efficient solution. So here we go with some results.
(
Benching cycles under PHP 5.3.x )
Comments 2
However thanks for the tips on the foreach loop, I'll try to remember when I might need it. Gladly some arrays in other languages cache their size internally so the call won't be Θ(n)=n²
However it's clean style.
Reply
Reply
Leave a comment