Re: Object getter method optimization
| From: | Lin Yo-An | Date: | Tue, 05 Apr 2016 14:32:50 +0000 |
| Subject: | Re: Object getter method optimization | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-92106@lists.php.net to get a copy of this message | ||
On Tue, Apr 5, 2016 at 10:14 PM, Dmitry Stogov <dmitry@zend.com> wrote:
> I think, op_array->type and op_array->fn_flags can't be reused.
>
> Also, usage of op_array->run_time_cache is safer (I remember, I saw some
> SIGSEGV with your patch and opcache.protect_memory=1)
>
Got it. Does run_time_cache vary when caller is different? maybe I can
use the first 2 bytes for the accessor information.
Cheers, Yo-An