Table of Contents
Java Programming Notes
Singletons
Hashing
Elegant Hacks / Optimizations
Hash Codes…why do they use large primes and 31 anyways?
StackOverflow
x
*
31
=
(
x
<<
5
)
-
x
;
//Bam! 2 ops!