On Thu, Feb 5, 2015 at 12:51 PM, Clément Bera <[email protected]>
wrote:

> I also can't wait to have a slot to automatically add instance variables
> in the additional method state for CompiledMethod subclasses. This
> shouldn't be tricky for you any more, should it ? I'm bored of not being
> able to add instance variables to compiledMethod subclasses :-).
>

+1.  This is a great test case for Slots.

Having automatically inst vars in a dictionary is interesting it could
> allow to have more inst vars than the maximum limit.
>

or, as in AI frame languages, avoid representing and initializing
infrequently-used inst vars


>
> 2015-02-05 16:51 GMT+01:00 Marcus Denker <[email protected]>:
>
>>
>>
>> On Mon, Jan 26, 2015 at 6:03 PM, Marcus Denker <[email protected]>
>> wrote:
>>
>>>
>>> Next: Hidden ivar
>>>
>>>
>>>
>> This is now finally in #478. This is for notch just a subclass to have a
>> normal InstanceVariable in a hidden version,
>> later we will use the wrapping machism that we use already for MetaLinks
>> to make it possible to hide any slot.
>> (e.g. BooleanSlot will use a BitFieldSlot that might span multiple ivars).
>>
>> For the first version this simple version should be enough.
>>
>>     Marcus
>>
>


-- 
best,
Eliot

Reply via email to