]> granicus.if.org Git - php/commitdiff
Reduce number of realloc calls.
authorYasuo Ohgaki <yohgaki@php.net>
Sat, 11 May 2002 03:01:08 +0000 (03:01 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Sat, 11 May 2002 03:01:08 +0000 (03:01 +0000)
ext/pgsql/pgsql.c

index 442f669f3243d3316d062fc975f1b3632ab4ba7b..6e3c186e54b823ffcbe61a1b02f51ac17b75d146 100644 (file)
@@ -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"