You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "nastra (GitHub)" <gi...@apache.org> on 2019/02/21 11:29:50 UTC

[GitHub] [tinkerpop] nastra commented on issue #1067: TINKERPOP-2164: Reduce chance of hash collisions in Bytecode and its inner classes

@jorgebay force pushed two tests. 
Ideally we should be using e.g. guava's `EqualsTester` to make sure equals/hashCode are properly implemented. The problem however is that Java's equals/hashCode contract allows hash collisions if two objects are equal but that doesn't mean that one should produce hash collisions as otherwise perf will be negatively affected when using those objects in data structures relying on hashCode

[ Full content available at: https://github.com/apache/tinkerpop/pull/1067 ]
This message was relayed via gitbox.apache.org for dev@tinkerpop.apache.org