Closed IAmAnubhavSaini closed 2 years ago
I donno good question! This is just a ternary that increases histogram spread reducing the likelihood of generating a collision.
It is best to not use uuid()
method and instead set your own user IDs based on your DB. But UUID is a good placeholder as a temporary User ID.
let me know if this helps!
Hi Stephen, could you please explain the significance of
c == 'x' ? r : (r & 0x3 | 0x8);
in case ofc != 'x'
?Also, why have you used
4
andy
?