summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-03-24 22:47:21 +0300
committerDmitry Stogov <dmitry@zend.com>2015-03-24 22:47:21 +0300
commit23c33b14835efdf228b0bc08f40215972f61f842 (patch)
tree61c504f77e9af0779180b0d3eaf8d4e330450754 /ext/standard/php_fopen_wrapper.c
parentbdf7fc67d8a146b4a5387c56268181c63047dfe6 (diff)
downloadphp-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