Rodrigo Kumpera
2010-May-06 16:44 UTC
[Ironruby-core] IronRuby usage of ConditionalWeakTable
Hey folks, I downloaded DLR from dlr.codeplex.com a few days ago and IR was not properly using CWT to store properties on CLR objects. Has this been fixed? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100506/dc343a37/attachment.html>
Tomas Matousek
2010-May-06 17:21 UTC
[Ironruby-core] IronRuby usage of ConditionalWeakTable
No, IronRuby still uses a custom weak table, which doesn''t work properly in all scenarios. Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Rodrigo Kumpera Sent: Thursday, May 06, 2010 9:44 AM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] IronRuby usage of ConditionalWeakTable Hey folks, I downloaded DLR from dlr.codeplex.com<http://dlr.codeplex.com> a few days ago and IR was not properly using CWT to store properties on CLR objects. Has this been fixed? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100506/bf10066f/attachment.html>
Rodrigo Kumpera
2010-May-06 20:34 UTC
[Ironruby-core] IronRuby usage of ConditionalWeakTable
That''s pretty odd given that there is code to transparently use CWT instead of Dictionary<WR, object>. I was hoping for to use IR to benchmark my current implementation of CWT on mono. :( On Thu, May 6, 2010 at 2:21 PM, Tomas Matousek <Tomas.Matousek at microsoft.com> wrote:> No, IronRuby still uses a custom weak table, which doesn?t work properly in > all scenarios. > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Rodrigo Kumpera > *Sent:* Thursday, May 06, 2010 9:44 AM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] IronRuby usage of ConditionalWeakTable > > > > Hey folks, > > > > I downloaded DLR from dlr.codeplex.com a few days ago and IR was not > properly using CWT to store properties on CLR objects. > > > > Has this been fixed? > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100506/77ba117a/attachment.html>
Tomas Matousek
2010-May-06 20:45 UTC
[Ironruby-core] IronRuby usage of ConditionalWeakTable
Yes, it should be easy to switch over to CWT. I can look at doing so tomorrow if it helps you. Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Rodrigo Kumpera Sent: Thursday, May 06, 2010 1:34 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] IronRuby usage of ConditionalWeakTable That''s pretty odd given that there is code to transparently use CWT instead of Dictionary<WR, object>. I was hoping for to use IR to benchmark my current implementation of CWT on mono. :( On Thu, May 6, 2010 at 2:21 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: No, IronRuby still uses a custom weak table, which doesn''t work properly in all scenarios. Tomas From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Rodrigo Kumpera Sent: Thursday, May 06, 2010 9:44 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] IronRuby usage of ConditionalWeakTable Hey folks, I downloaded DLR from dlr.codeplex.com<http://dlr.codeplex.com> a few days ago and IR was not properly using CWT to store properties on CLR objects. Has this been fixed? _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100506/3e504dfd/attachment.html>
Rodrigo Kumpera
2010-May-11 03:50 UTC
[Ironruby-core] IronRuby usage of ConditionalWeakTable
Don''t rush at finishing it just because of me. Specially because the managed part of our CWT is doing linear search instead of been a hashtable. I''m halfway thru implementing it and it would be awesome to have it done since most of my tests are artificial. On Thu, May 6, 2010 at 5:45 PM, Tomas Matousek <Tomas.Matousek at microsoft.com> wrote:> Yes, it should be easy to switch over to CWT. I can look at doing so > tomorrow if it helps you. > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Rodrigo Kumpera > *Sent:* Thursday, May 06, 2010 1:34 PM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] IronRuby usage of ConditionalWeakTable > > > > That''s pretty odd given that there is code to transparently use CWT instead > of Dictionary<WR, object>. > > > > I was hoping for to use IR to benchmark my current implementation of CWT on > mono. :( > > > > On Thu, May 6, 2010 at 2:21 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > > No, IronRuby still uses a custom weak table, which doesn?t work properly in > all scenarios. > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Rodrigo Kumpera > *Sent:* Thursday, May 06, 2010 9:44 AM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] IronRuby usage of ConditionalWeakTable > > > > Hey folks, > > > > I downloaded DLR from dlr.codeplex.com a few days ago and IR was not > properly using CWT to store properties on CLR objects. > > > > Has this been fixed? > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100511/cb91e768/attachment.html>