Re: Move to Fast ZPP?
| From: | Yasuo Ohgaki | Date: | Wed, 24 Jun 2015 10:21:02 +0000 |
| Subject: | Re: Move to Fast ZPP? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86841@lists.php.net to get a copy of this message | ||
Hi Ferenc,
On Wed, Jun 24, 2015 at 6:21 PM, Ferenc Kovacs <tyra3l@gmail.com> wrote:
> it was meant as a performance optimization for the most heavy/hot
> codepaths.
> What gave you the idea that the situation changed and we should use it
> everywhere?
>
I'm curious about the status of Fast ZPP and it's usage.
The RFC says it reduces function call overheads by 90% and
I didn't see reason why we shouldn't move to Fast ZPP.
"For some really simple function like is_string() or ord() the overhead of
zend_parse_parameters() may be about 90%."
https://wiki.php.net/rfc/fast_zpp
I'll use it for functions called many times.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net