On 7 November 2014 15:52, Erik Arvidsson <[email protected]> wrote:
> The important part is that two call sites that have the same structure have
> the same identity.

Yes, but wouldn't it be more adequate to key on the structural information?

/Andreas

> Here is an example where using the call site object as a key in cache allows
> optimizations in Traceur:
> https://github.com/google/traceur-compiler/blob/master/src/codegeneration/PlaceholderParser.js#L103
>
> On Fri, Nov 7, 2014 at 9:32 AM, <[email protected]> wrote:
>>
>> On 2014/11/07 14:18:36, arv wrote:
>>>
>>> On 2014/11/07 14:00:47, rossberg wrote:
>>> > ... (The caching
>>> > is mostly a performance hack in the spec anyway, and one that probably
>>
>> doesn't
>>>
>>> > even help much, due to its administrative overhead.)
>>
>>
>>> Just to be clear here. The caching is not a performance hack. It is very
>>> important feature that allows you to cache expensive operations.
>>
>>
>> Well, the idea of specialising caching by use site is rather bizarre, if
>> you ask
>> me. I would assume that it is perfectly possible to implement any relevant
>> caching without that.
>>
>>
>> https://codereview.chromium.org/663683006/
>>
>> --
>> --
>> v8-dev mailing list
>> [email protected]
>> http://groups.google.com/group/v8-dev
>> ---You received this message because you are subscribed to the Google
>> Groups "v8-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> erik
>
>
> --
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to