Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/pdo_pgsql/pgsql_statement.c branches/PHP_5_3/NEWS
branches/PHP_5_3/ext/pdo_pgsql/pgsql_statement.c trunk/ext/pdo_pgsql/pgsql_statement.c

From: Date: Mon, 26 Oct 2009 12:58:13 +0000
Subject: Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/pdo_pgsql/pgsql_statement.c branches/PHP_5_3/NEWS
branches/PHP_5_3/ext/pdo_pgsql/pgsql_statement.c trunk/ext/pdo_pgsql/pgsql_statement.c
References: 1 2 3 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60771@lists.php.net to get a copy of this message
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


« previous php.cvs (#60771) next »