markusthoemmes opened a new issue #3395: Generate ActivationId string directly 
without going through UUID.
   ActivationIDs are generated via UUID.randomUUID() today. Looking through the 
code of that you'll notice that it only generates a random hexadecimal String, 
delimited with dashes. We then proceed to cut out the dashes to end up at our 
ActivationId format.
   We can straight up jump to generate the String ourselves. This even has the 
added benefit of adding more entropy to that String, because the UUID contains 
some bytes to determine its version (which are fixed bytes).
   There are even libraries out there which make UUID serdes as fast as 
possible because it's seemingly slow and generates lots of garbage 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to