Internal counter could work, or we could try to use a better random # generator

On 2009-10-26, at 8:51 AM, Matteo Beccati wrote:

Ilia Alshanetsky ha scritto:
I did a quick test, and I don't see a significant reduction is
performance after the patch.

That's cool. Maybe I'll try to perform some more benchmarking later
today... However, given that the problem here is that the
cursor/prepared statement name is generated using a memory address, how about we use a different mechanism that prevents reusing the same name,
i.e. an internal counter?


Cheers
--
Matteo Beccati


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to