[sldev] UUID variant/version bits?
Kent Quirk (Q Linden)
q at lindenlab.com
Wed Nov 28 10:49:41 PST 2007
Jason Giglio wrote:
> Why is it that the UUID variant/version bits do not seem to be set
> correctly on LL UUIDs?
>
> Is this a bug or did you violate the RFC on purpose?
>
If by "on purpose" you mean "by writing it before the RFC existed", then
yes.
Our implementation of the UUID stuff was written sometime in 2001 or
2002. Changing it might mean generating collisions for things like asset
IDs, and that would be Bhad Nhews. Since UUIDs aren't intended for
interoperability with other systems (RFC 4122: "UUIDs are not globally
resolvable") this isn't an issue.
The code is in llmath/lluuid.* if you're interested.
Q
More information about the SLDev
mailing list