Tomas Restrepo:

> >
> >  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?)

Yup. It's stored in a WeakReference though. See InstanceDataDictionary.cs

- John

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to