A question about #become: (was: Re: [squeak-dev] [ANN] Squeak 5)

tim Rowledge tim at rowledge.org
Wed Aug 12 18:57:04 UTC 2015


On 12-08-2015, at 11:20 AM, Eliot Miranda <eliot.miranda at gmail.com> wrote:

> 
> 
> On Wed, Aug 12, 2015 at 11:09 AM, Levente Uzonyi <leves at elte.hu> wrote:
> I wonder if you're creating two forwarders in case of #become:, with objects of different size, or just one forwarder for the larger object while copying the smaller object over the larger one (when possible).
> 
> Right now it's the simplest thing that could possibly work.  I think this is a great idea though.  It would potentially eliminate the post-become stack scan if all objects can be becomed either by exchanging contents or (in one-way) shortening.  Alas I don't have time for this right now.  Any volunteers interested?

Huh; I thought you had done that ages ago. I recall suggesting it really early in your spur work and could have sworn you did it right then. 

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Futuristic: It will only run on a next generation supercomputer.




More information about the Squeak-dev mailing list