]> granicus.if.org Git - php/commit
Cache the class_name typehint key in arg_info
authorBob Weinand <bobwei9@hotmail.com>
Fri, 12 Jun 2015 15:26:41 +0000 (17:26 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Fri, 12 Jun 2015 15:26:53 +0000 (17:26 +0200)
commit7c2a0157c7c71a55dce2d4dade854a4d6ccb03e9
tree841a00955deaabd39939a2a3e9eaaeaa1c76483f
parentc8723564d4a55f99a83e011dfaf392a1aa5cbf1d
Cache the class_name typehint key in arg_info
This leads to up to 2% improvement on one tested real world application by not having to always recalculate the lowercased string and its hash
Zend/zend_API.h
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_execute.c
Zend/zend_opcode.c
ext/opcache/zend_file_cache.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c