[Ironruby-core] Couple of Questions
John Messerly
jomes at microsoft.com
Mon Feb 25 14:32:31 EST 2008
Tomas Restrepo:
> > > - What's the relationship between what goes around a RubyClass for
> > a > given type (in the case of .net objects) and the whole
> > InstanceData > business?
> >
> > Not sure about this question ... can you clarify?
>
> I was referring to RubyExecutionContext.GetInstanceData() and
> friends....
InstanceData is the per-instance data for Ruby object. For example, instance variables (@abc), frozen/tainted flags, etc.
We try to be smart about storing it on the object for types that we generate, but if it's a .NET object sometimes we have to go through a dictionary lookup to find the instance data for a given object.
- John
More information about the Ironruby-core
mailing list