Re: Method call improvements
| From: | Guilherme Blanco | Date: | Tue, 12 May 2009 12:37:27 +0000 |
| Subject: | Re: Method call improvements | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43901@lists.php.net to get a copy of this message | ||
Thanks Dmitry,
I imagined that. I just thought it was already applied, but it's not.
So I spoke a bit with Lukas and he suggested me to revamp this
discussion, since it stopped all of a sudden.
Anyway... once you guys find a final patch, should I expect it at
least commited into HEAD?
Cheers,
On Tue, May 12, 2009 at 3:08 AM, Dmitry Stogov <dmitry@zend.com> wrote:
> Hi Guilherme,
>
> 5.3 is closed for major updates (it is in RC state). I would try to look
> into this when we develop a strategy for next PHP version.
>
> Thanks. Dmitry.
>
> Guilherme Blanco wrote:
>>
>> Hi guys,
>>
>> What's the status on this one?!
>>
>> It's an important optimization that should be considered. Save more
>> than a million method calls on a framework does not worth?
>> None gave a final word on this subject.
>>
>> I could not see this commited in 5.3 neither in HEAD.
>> So...can someone notify me about the status of this???
>>
>>
>> Cheers,
>>
>> On Thu, Jan 22, 2009 at 10:20 AM, Dmitry Stogov <dmitry@zend.com> wrote:
>>>
>>> Marcus Boerger wrote:
>>>
>>>> Aren't we able to bind these at least partially to the function call
>>>> opcode, in case we know they are constant? If all is constsnt we could
>>>> even store the whole lookup in the opcode. Well you'd have to convince
>>>> Zend to do that because os far they have always been against this
>>>> approach.
>>>
>>> We can't modify opcode it self as it'll break opcode caches.
>>>
>>> However we can introduce some indirect table associated with op_array,
>>> which
>>> can be used to implement inline caches without direct opcode modification
>>> (in the same way as IS_CV variables work). There are a lot of papers
>>> about
>>> polymorphic inline caches (e.g.
>>> http://research.sun.com/self/papers/pics.html) which we
>>> probably should
>>> use
>>> to not to invite bicycle.
>>>
>>> Thanks. Dmitry.
>>>
>>> --
>>> PHP Internals - PHP Runtime Development Mailing List
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>
>>
>>
>
--
Guilherme Blanco - Web Developer
CBC - Certified Bindows Consultant
Cell Phone: +55 (16) 9215-8480
MSN: guilhermeblanco@hotmail.com
URL: http://blog.bisna.com
São Paulo - SP/Brazil