The patch fixes the issue for me. I've run the testsuite and everything seems to be ok. Not sure if you want to add a regression test, so I've made it a separate commit.
What do you think about it?
Ugh.. The patch has a small bug itself. I'll push a fix in a minute.. Sorry for that.
I've added a small optimization using the fact that Array.length is O(1).
Anyway, sorry for so many commits -- I guess I'm just a bit tired..
Thanks for the patches! Do you mind addressing the two comments I made on one of the commits and then rebase the result into one (or two if you want to separate out the test) commits on top of master?
Fix Eq instance for HashMap (issue #39).
Thanks for a quick review! I've deleted the unnecessary comparisons and squashed everything into one commit.
Merged. Thanks for the patch! Do you need a release with this bug fix soon?
Thanks! And no, the bug is not a blocker for me.