1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00

Attempt to increase smart_str performance through the use of larger

default buffers. Biased micro benchmarks show it makes sense :P
This commit is contained in:
Ilia Alshanetsky
2006-05-02 13:52:24 +00:00
parent 8d1cc50067
commit e95addcbfa
+2 -2
View File
@@ -35,11 +35,11 @@
} while (0)
#ifndef SMART_STR_PREALLOC
#define SMART_STR_PREALLOC 128
#define SMART_STR_PREALLOC 4096
#endif
#ifndef SMART_STR_START_SIZE
#define SMART_STR_START_SIZE 78
#define SMART_STR_START_SIZE 1024
#endif
#ifdef SMART_STR_USE_REALLOC