diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-05-03 02:07:06 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-05-03 02:07:06 +0200 |
commit | b4c500922024a647a694441f970e432d4f27be39 (patch) | |
tree | 15b0a6c43129903fa17f234ff1203402e0eb9b18 /Zend/zend_API.c | |
parent | ec7c3c22b69814aa0b64c6b9aa9fef17f99103ab (diff) | |
download | php-git-b4c500922024a647a694441f970e432d4f27be39.tar.gz |
Mark fcc as initialized for object calls
This results in 1% speedup (cycle count) on some real world applications
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |