Have the scope accessible as an object and implement a new with operator / block
xavierm02.net at gmail.com
Tue Dec 20 02:54:41 PST 2011
In a way it would be like proxies: slow if used but doesn't change
anything if you don't use them.
On Tue, Dec 20, 2011 at 11:51 AM, Xavier MONTILLET
<xavierm02.net at gmail.com> wrote:
> Well what about you add an if that checks whether scope is used or not
> and if it is disables these optimizations?
> On Tue, Dec 20, 2011 at 11:46 AM, Andreas Rossberg <rossberg at google.com> wrote:
>> On 20 December 2011 11:24, Xavier MONTILLET <xavierm02.net at gmail.com> wrote:
>>> What kind of optimizations?
>> Optimizations such as putting variables in registers, putting
>> variables on the stack, overlaying variables with disjoint life times,
>> eliminating some variables entirely, minimizing closure environments,
>> to name just a few.
More information about the es-discuss