Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The hashCode() for Span and Limits classes are not good.
Since min/start is often 0, the distribution of hashCode is very very poor, as all those will end up with 0 as the hashCode in previous samples.
Equals() allowed subclasses (typ a bad idea) and had no null protection.