SemCacheChunk micro-optimization

This commit is contained in:
peter
2015-05-27 15:15:21 +02:00
parent 0ea7d756f6
commit b05d71903a
@@ -278,6 +278,10 @@ public class SemServiceImpl extends SemService{
map.put(key.getUniqueId(), elements);
}
@Override
public int hashCode() {
return 0; // ConcurrentWeakKeySoftValueHashMap.SoftValue requires hashCode, and this is faster than identityHashCode
}
}
}