Fleshgrinder opened a new pull request, #20788:
URL: https://github.com/apache/kafka/pull/20788

   Avoid constructing a Base64 string inside the rejection loop by checking the 
high 6 bits of the most significant 64 bits directly. This preserves the 
existing guarantee that the Base64-URL encoded form does not start with a 
hyphen while reducing allocation and work in the hot path.
   
   UUIDs equal to 0 or 1 remain impossible due to the version-4 bit pattern.


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

Reply via email to