diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-03-24 22:47:21 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-03-24 22:47:21 +0300 |
commit | 23c33b14835efdf228b0bc08f40215972f61f842 (patch) | |
tree | 61c504f77e9af0779180b0d3eaf8d4e330450754 /ext/standard/php_fopen_wrapper.c | |
parent | bdf7fc67d8a146b4a5387c56268181c63047dfe6 (diff) | |
download | php-git-23c33b14835efdf228b0bc08f40215972f61f842.tar.gz |
Optimized strings concatenation.
ZEND_ADD_STRING/VAR/CHAR are replaced with ZEND_ROPE_INTI, ZEND_ROPE_ADD, ZEND_ROPE_END.
Instead of reallocation and copying string on each ZEND_ADD_STRING/VAR/CAHR, collect all the strings and then allocate and construct the resulting string once.
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
0 files changed, 0 insertions, 0 deletions