aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/ValueExample_post.jpage
AgeCommit message (Collapse)Author
2015-06-25The hashCode() method now generates a magic prime instead of 0 for the hash ↵Reinier Zwitserloot
of null values; this reduces collisions.
2014-01-19Issue 625: use (even) better primes for hashcodesRoel Spilker
2014-01-09[#625] Instead of '31' as a prime number for hashCode(), use something else. ↵Reinier Zwitserloot
31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609.
2013-07-08Fixed value's snippet integration (it hadn't been updated yet now that Value ↵Reinier Zwitserloot
has moved from experimental into core).