in algebird-core/src/main/scala/com/twitter/algebird/immutable/BitSet.scala [320:331]
override def equals(that: Any): Boolean =
that match {
case t: BitSet =>
val it0 = this.iterator
val it1 = t.iterator
while (it0.hasNext && it1.hasNext) {
if (it0.next() != it1.next()) return false
}
it0.hasNext == it1.hasNext
case _ =>
false
}