sgup432 opened a new pull request, #15807:
URL: https://github.com/apache/lucene/pull/15807

   ### Description
   
   
   While going through [PR](https://github.com/apache/lucene/pull/15805) where 
we are reducing lock contention, and me further questioning the existence of 
BigInteger, I stumbled upon the method `StringHelper.idToString()` which 
unnecessarily allocates BigInteger just to render a 16-byte ID as a base-36 
string for debugging.
   
   HexFormat got available in JDK17+, maybe we can use that now? And is better. 
   
   Minor change, no impact on performance.
   
   


-- 
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]

Reply via email to