[PR][php-src][#1174][master] - Compile namespaced functions to opcodes too
| From: | noreply@php.net | Date: | Sat, 14 Mar 2015 00:11:48 +0000 |
| Subject: | [PR][php-src][#1174][master] - Compile namespaced functions to opcodes too | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-2744@lists.php.net to get a copy of this message | ||
You can view the Pull Request on github:
https://github.com/php/php-src/pull/1174
Pull Request Description:
This patch doesn't have any runtime impact on non-namespaced functions. (thanks to VM
specialization)
It adds some code to emulate the function call in case we have a namespaced function with the same
name.
But it still saves some instructions and end up being at least as fast in that case. (nothing
statistically significant measured.)
But it adds measurable improvement on code calling strlen() often. (for example)
This patch has its significance as a lot of code today is namespaced...