From: Yasuo Ohgaki Date: Sat, 11 May 2002 03:01:08 +0000 (+0000) Subject: Reduce number of realloc calls. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f314d24d030dca3d1dd815d8ac4dad7d85f28ac3;p=php Reduce number of realloc calls. --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 442f669f32..6e3c186e54 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -29,6 +29,8 @@ #include "config.h" #endif +#define SMART_STR_PREALLOC 512 + #include "php.h" #include "php_ini.h" #include "ext/standard/php_standard.h"