Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Won't Fix
-
3.0
-
None
-
None
Description
Since "Pair" is supposed to be an immutable class, couldn't we cache the "hashCode" value at construction? That would supposedly make it more efficient when used in maps.