Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a custom hash implementation in HnswLock (#13751)
This commit is a micro optimisation to the HNSW Lock implementation, which avoids integer and vararg boxing when determining the hash of the node and level. Trivially we provide our own arity specialised hash, rather than the more generic java.util.Objects.hash(Object...).
- Loading branch information