RE: [PHP-WIN] Re: Performance tuning #2

From: Date: Fri, 04 Jan 2002 07:09:35 +0000
Subject: RE: [PHP-WIN] Re: Performance tuning #2
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-11292@lists.php.net to get a copy of this message
Alain, thanks for the link. Peter -----Original Message----- From: alain samoun [mailto:alain@sonic.net] Sent: Monday, December 31, 2001 6:56 PM To: Peter Illes; php-windows@lists.php.net Subject: RE: [PHP-WIN] Re: Performance tuning #2 No faq, but an archive at: http://marc.theaimsgroup.com/?l=php-windows&r=1&w=2 A+ Alain -----Original Message----- From: Peter Illes [mailto:pilles@pannonrex.com] Sent: Monday, December 31, 2001 8:42 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Re: Performance tuning #2 Thanks, Manuel, those are both very good ideas that we will make use of. My original problem is simpler than that, though: I'd like to pre-allocate a buffer for the string. Is this possible in PHP? This is possible in both C/C++ and Delphi (with SetLength() in Delphi). The reason for this to have let's say 4-5 re-allocations instead of ~10,000+ re-allocations. Of course we could get into the source of PHP to add the functionality (or alternatively, roll our own cache object), but this is a very basic feature, and I'm sure it does have it, I'm just too unlucky not finding out how... Happy New Year, Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#11292) next »