uschindler commented on PR #15517: URL: https://github.com/apache/lucene/pull/15517#issuecomment-3685969644
Hi, The plan was to remove both methods in main branch and replace the whole code by the default variant I n JDK. The plus1 issue comes from a safety added, I think because @thecoop wanted to make sure that after rounding the size is correct. According to JDK docs the newHashXxx method in jdk ensures that the requested elements fit into the map without resizing. So they .ay gave changed other stuff to make the plus1 not needed. Uwe -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
