Optimized hashCode system