See Behavior>>becomeCompact You just call this once for a class in the image. I suggest to put it into the class side #initialize method.
But do you really need a compact class? If you just need to access the class from the interpreter, you can also add it to the special objects array. See SystemDictionary>>recreateSpecialObjectsArray. I'd simply extend the array, I don't see any obvious reason why this should not work. Of course if you plan to make your changes go into the VM, you'll have to have a good point to satisfy the VM gurus ;)
HTH, Adrian
On Jul 26, 2007, at 14:18 , Mathieu Suen wrote:
It should be in the class side, isn't it? Mth
On Jul 26, 2007, at 11:10 AM, bryce@kampjes.demon.co.uk wrote:
ExuperyBlockContext>>initialize self becomeCompactAt: 15