[Vm-dev] frameless instance initialization
stephane ducasse
stephane.ducasse at gmail.com
Fri Apr 24 06:05:22 UTC 2015
Hi eliot
> Hi All,
>
> here's a challenge. Currently the JIT is naive about a sequence of inst var assignments. It treats assignment separately, each getting its own copy of the store check. For example when initializing an Interval via:
>
> setFrom: startInteger to: stopInteger by: stepInteger
>
> start := startInteger.
> stop := stopInteger.
> step := stepInteger
Is this pattern frequent?
Because it was proposed by K. Beck but do people use it?
Especially now with automatic invocation of initialize, we often have
start := startInteger.
> stop := stopInteger.
> step := stepInteger
self do.
More information about the Vm-dev
mailing list