Open ygllq opened 3 months ago
I will check the first problem you report and fix it as soon as possible. Regarding the second question , it is optional to use pseudo-randomness for the lower 48 bits of UUID1, 6. In addition, RFC recommends that you use uuidV7
=================
您反馈的第一个问题,我会查看,有问题会第一时间修复。 对于您反馈的第二个问题,UUID1,6 低48位使用伪随机是可选的,另外RFC推荐您用uuidV7,另外在任何情况下都应该优先考虑使用uuidV7 @ygllq
RFC 4122 UUIDv6 Example: 1EC9414C-232A-6B00-B3C8-9E6BDECED846 But in this library NewV6 generates ID like: 01eee693-1887-6e10-a722-9e6bdeced846 has a prefix 0
Many UUID libraries in other languages (for example python uuid6) follow the instructions of the RFC.
For UUIDv6, RFC also mentioned
The last 48bit node can set to a pseudo-random value, it maybe more useful.