On Thu, Sep 29, 2016 at 10:34 AM, Holger Freyther <holger@freyther.de> wrote:

> On 29 Sep 2016, at 10:25, Marcus Denker <marcus.denker@inria.fr> wrote:
>
>

>
> Slice committed:
>
> https://pharo.fogbugz.com/f/cases/19155/speedup-instVarNamed
>
>�� �� �� ��Marcus


that was quick!

I had locally modified to use 1 to: specLayout size do: [] and then use specLayout at: directly. It seemed to make a small difference as well

So I was "lucky" to pick PointerLayout as class to put the method in? classLayout will always be an instance of PointerLayout (or its subclasses)?

For all classes with ivars, yes. But we need to add a method to the superclass, too (which does nothing).

�� I will commit another iteration.

��
--
Marcus Denker�� --�� denker@acm.org
http://www.marcusdenker.de