easyice commented on PR #15631:
URL: https://github.com/apache/lucene/pull/15631#issuecomment-4003420553

   @msfroh This makes sense to me. My understanding is that `CAS` only becomes 
less efficient than locks under very high retry contention. For the `randomId` 
method, it should be a good fit, and it also makes the code more readable.
   
   Could you open a new PR for this, or push the change here?


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