WICG / uuid

UUID V4
Other
63 stars 10 forks source link

tweaks to UUID algorithm #33

Closed bcoe closed 3 years ago

bcoe commented 3 years ago

What about this refactor that combines aspects I liked of the existing algorithm, with some of @marcoscaceres' suggestions?

Refs: #29


Preview | Diff

marcoscaceres commented 3 years ago

I think the only think we might want to make super explicit in [=hexadecimal representation=] is that the "from" "to" numbers represent array index positions and are inclusive. It might be overkill tho - as it's pretty obvious how UUIDs are constructed, but just in case.

domenic commented 3 years ago

Not a fan, personally: https://github.com/WICG/uuid/issues/29#issuecomment-903983143

bcoe commented 3 years ago

Closing for time being so we can land #34.