add perf for hashCode and equals