Re:String.hashCode() is plenty unique
by jcranmer on Saturday August 11, 2018 @10:05AM
(#17739716)
It can do better, if the input is not "every possible string." A perfect hash of the strings representing 32-bit unsigned integers can compress strings up to 10 bytes long into 4 bytes of data.
[ Parent
| on HN ]
There are no comments on this comment yet.