Oct. 29, 2009
3:35 p.m.
Yes this is my gut feeling too.
If the authors knew about the limited range of #identityHash, that is entirely possible. I tend to think it more likely that in most cases these implementations are just the simplest way to follow the dictate that 'a=b -> a hash = b hash', and that they didn't really think about the impact on collection performance.