On Friday, November 9, 2012 7:36:20 PM UTC+1, Ryan Macnak wrote:
In this case I would just replace sends of largeIdentityHash with identityHash, which is understood by all objects. Someday the object model in Cog will be replaced with one that has a larger hash field.
Exactly. That was because of an optimized LargeHashedCollection specially to perform better for large sets and dictionaries since the identity hash in Cog is only a few bits (around 12 I think).
So for the moment you can use use #identityHash, or even simpler, use IdentityDictionary instead of LargeIdentityDictionary and IdentitySet instead of LargeIdentitySet.
Cheers,