1. 3

The article is a lot more interesting than the rather boring title. Worth a read.

  1.  

  2. 1

    wow, this brings back memories of going down the same rabbit hole, but the author had the commitment to make it much deeper! this exact complexity is part of why I take no regret in implementing my own hashcode functions when I need to make hash sets behave themselves.