On Wed, Aug 12, 2015 at 11:57 AM, tim Rowledge <tim@rowledge.org> wrote:
On 12-08-2015, at 11:20 AM, Eliot Miranda <eliot.miranda@gmail.com> wrote:
>
>
> On Wed, Aug 12, 2015 at 11:09 AM, Levente Uzonyi <leves@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.I think I did exchange of contents when the objects are of the same size, at your prompting, but I definitely know I /didn't/ do shortening in one-way as per Levente's suggestion._,,,^..^,,,_