[Ironruby-core] Couple of Questions

Tomas Restrepo tomas at winterdom.com
Mon Feb 25 14:56:18 EST 2008

Hi John,
>  InstanceData is the per-instance data for Ruby object. For example, instance variables (@abc), frozen/tainted flags, etc.

Thanks, good to know. That was my impression from looking at the code,
but wanted to make sure.

>  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.

Is the object itself the key for that dictionary? (If yes, I'm
guessing this will affect the lifetime of said objects, right?)

Tomas Restrepo

More information about the Ironruby-core mailing list