aashish-confluent opened a new pull request, #24273: URL: https://github.com/apache/kafka/pull/24273
Limit the number of slots probed when adding an element to ImplicitLinkedHashMultiCollection to 1000, so that adding many elements with the same key does not take quadratic time. Added unit tests in ImplicitLinkedHashMultiCollectionTest and ImplicitLinkedHashCollectionTest, and a JMH benchmark ImplicitLinkedHashCollisionBenchmark. Reviewers: Manikumar Reddy <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
