diff options
| author | Yasuo Ohgaki <yohgaki@php.net> | 2002-05-11 03:01:08 +0000 |
|---|---|---|
| committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-05-11 03:01:08 +0000 |
| commit | f314d24d030dca3d1dd815d8ac4dad7d85f28ac3 (patch) | |
| tree | cf0517f4171a34626b5ebbd5d72f4e216e717563 /ext/pgsql/pgsql.c | |
| parent | 2d0f07d08655c95e2372b1a0b1b7a580217b2f64 (diff) | |
| download | php-git-f314d24d030dca3d1dd815d8ac4dad7d85f28ac3.tar.gz | |
Reduce number of realloc calls.
Diffstat (limited to 'ext/pgsql/pgsql.c')
| -rw-r--r-- | ext/pgsql/pgsql.c | 2 |
1 files changed, 2 insertions, 0 deletions
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" |
