Hi Matt,

Matt Wilmas wrote:
Hi again Dmitry,

Just wanted to say that I think I can make your code a bit smaller after looking at it closer.

It would be great, but keep in mind that performance is more important.

Don't quite have enough time to modify and verify it now, but I'll be back later (around the usual time) to let you know either way. :-)

I'm waiting for your changes.

Thanks. Dmitry.


- Matt


----- Original Message -----
From: "Dmitry Stogov"
Sent: Wednesday, March 18, 2009

Hi Matt,

I suppose I fixed the patch.

Could you please check which patch is better yours or the attached one?

According to attached benchmark my one is faster for most usual cases,
but may be I forget something again.

$a["abcdefghij"]   0.130 0.130
$a["1234567890"]   0.187 0.104
$a["2147483648"]   0.168 0.142
$a["0"]            0.116 0.082
$a["214748364x"]   0.136 0.141
$a[0]              0.080 0.080

Also, do you have other patches which I could look into before RC?

Thanks. Dmitry.


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to