Question about performance between for iteration and extension function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

I am in doubt of this, I thought pure php iteration is slower than calling
join or other extension functions.

but the result shows:  https://gist.github.com/b2a94c94ca66a55814d4

Using Pure PHP for iteration is faster than using join function. why ?
because of the php runtime typecasting ?

And json_encode is the most slowest.

-- 
Best Regards,

Yo-An Lin

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux