From: Bob Weinand Date: Tue, 3 May 2016 00:07:06 +0000 (+0200) Subject: Mark fcc as initialized for object calls X-Git-Tag: php-7.0.7RC1~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4c500922024a647a694441f970e432d4f27be39;p=php Mark fcc as initialized for object calls This results in 1% speedup (cycle count) on some real world applications --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index a7d19f9892..a488dba52f 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -3358,6 +3358,7 @@ again: memcpy(ZSTR_VAL(*callable_name), ZSTR_VAL(ce->name), ZSTR_LEN(ce->name)); memcpy(ZSTR_VAL(*callable_name) + ZSTR_LEN(ce->name), "::__invoke", sizeof("::__invoke")); } + fcc->initialized = 1; return 1; } if (callable_name) {