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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user