[squeak-dev] Cosmetic: move or remove a few temps inside closures
eliot.miranda at gmail.com
Mon Dec 28 03:50:13 UTC 2009
On Sun, Dec 27, 2009 at 12:30 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:
> Sorry for the high level of noise...
> I profited by the low traffic to apply Eliot mechanised tool (
> + own manual changes to remove as much writes as possible (in a short
> time frame) to remote (external scope) temporaries from within a
> This should fast up a little bit the image (probably not that much
> until Cog is available).
> We shall now take the habit of declaring temps in inner scope possible
> and avoid writing in outer temps if possible.
> By now, the cosmetic changes has at least a virtue of serving as
This is not purely cosmetic. Block-local temps are more efficient than
method-level temps assigned inside blocks. The latter are indirect temps
and cost more to access and cause blocks that use them to cost more to
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev