[IronPython] Object ids and hash code

Sriram Krishnan sriramk at gmail.com
Sun Mar 27 11:13:15 CEST 2005

I saw that IronPython 0.7 uses
System.Runtime.CompilerServices.RuntimeHelpers to get the hash code of an
object (thereby removing the need for the Reflection.Emit/util dll hack in
0.6). However, if I remember correctly, .NET hash codes are *not* guaranteed
to be unique. Brad Abrams talks about it here

Doesn't this open up problems when 2 objects have the same id?


More information about the Ironpython-users mailing list