]> granicus.if.org Git - php/commit
Avoid HashTable allocations for empty arrays (using zend_empty_array).
authorDmitry Stogov <dmitry@zend.com>
Tue, 24 Oct 2017 14:27:31 +0000 (17:27 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 24 Oct 2017 14:27:31 +0000 (17:27 +0300)
commit9cf87aa1965504b1cd9dc595a3c6af418a416cfc
tree887b57fe5485acc98b2ffb44149a1c049433a67c
parent2ca08a3d66ea6fc6cca5337c5ade757bc86c1934
Avoid HashTable allocations for empty arrays (using zend_empty_array).
22 files changed:
Zend/zend_ast.c
Zend/zend_builtin_functions.c
Zend/zend_closures.c
Zend/zend_compile.c
Zend/zend_hash.c
Zend/zend_hash.h
Zend/zend_operators.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/dom/xpath.c
ext/libxml/libxml.c
ext/mbstring/mbstring.c
ext/mysqli/mysqli_nonapi.c
ext/mysqli/mysqli_prop.c
ext/reflection/php_reflection.c
ext/simplexml/simplexml.c
ext/spl/spl_fixedarray.c
ext/sqlite3/sqlite3.c
ext/standard/array.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
ext/xsl/xsltprocessor.c