diff options
author | Dmitry Stogov <dmitry@php.net> | 2010-08-27 06:09:18 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2010-08-27 06:09:18 +0000 |
commit | caffc1c9726e14a49d20678df454d1326b0962a0 (patch) | |
tree | b581ff6aced21222384b312c63f39f6ae9897968 /main/php_output.h | |
parent | f33837ff9714105ee11cdedeefd23e674c0043e6 (diff) | |
download | php-git-caffc1c9726e14a49d20678df454d1326b0962a0.tar.gz |
Preallocate zend_hash instead of allocation/deallocation it on each request
Diffstat (limited to 'main/php_output.h')
-rw-r--r-- | main/php_output.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_output.h b/main/php_output.h index 57fbcce2a0..f7f5099ffc 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -142,7 +142,7 @@ typedef struct _php_output_handler { ZEND_BEGIN_MODULE_GLOBALS(output) int flags; - zend_stack *handlers; + zend_stack handlers; php_output_handler *active; php_output_handler *running; char *output_start_filename; |