Re: [PHP-DEV] Lists: a simple way to improve PHP performance

2015-03-11 Thread Camilo Sperberg
Isn’t this already implemented in the SPL library? http://php.net/manual/en/spl.datastructures.php -- Met vriendelijke groet, Camilo Sperberg Sent with Airmail On 11 Mar 2015 at 10:15:11, Ludovic Urbain (m...@ludovicurbain.com) wrote: Hello, I've been working with PHP for a while and

Re: [PHP-DEV] Lists: a simple way to improve PHP performance

2015-03-11 Thread Ludovic Urbain
That's a good question, I never tried the SPL library. But if we're to stick to whatever information is readily available, it's not good enough, as Spl seems to be 15-30% faster when I'm looking for 10x faster - however I'm looking at a really specific portion of performance which would probably

[PHP-DEV] Lists: a simple way to improve PHP performance

2015-03-11 Thread Ludovic Urbain
Hello, I've been working with PHP for a while and it's always sad to see array()'s performance being so terrible, in so many cases where a simple list would have done the trick without any slowdown. So why don't we add a basic list type to PHP ? There's nothing to lose, everything to gain, and