[Vm-dev] #becomeUncompact not longer works in Cog/Stack VMs

Andreas Raab andreas.raab at gmx.de
Sat May 7 14:09:46 UTC 2011


On 5/7/2011 2:33, Colin Putney wrote:
>
> On Fri, May 6, 2011 at 5:18 PM, Igor Stasenko<siguctua at gmail.com>  wrote:
>
>> No. its nothing to do with performance. It is about getting rid of
>> them as a concept.
> Well, if fixing it makes Cog slower, then it *is* about performance.
>
> Just making everything uncompact without changing the image format
> doesn't really buy us much: it would make Cog slower and the image
> bigger with no benefit. The benefit comes from having a new image
> format that is optimized for speed rather than space - getting rid of
> compact classes would just be a side-effect of the new format.

And interestingly, Eliot's proposal for a new format actually gets rid 
of the class pointer and makes "everything" a compact class.

Cheers,
   - Andreas



More information about the Vm-dev mailing list