[Opensim-dev] [libsl-dev] UUID format: dashed here to stay?

Justin Clark-Casey jjustincc at googlemail.com
Thu Jan 17 10:46:43 UTC 2008


dirk husemann wrote:
> John Hurliman wrote:
>   
>> It was actually a big performance boost by changing to the dashed 
>> format. Internally, LLUUID is just a wrapper around the .NET Guid 
>> object which has a ToString() method that produces a dashed UUID. The 
>> non-hyphenated version removed the dashes which required an additional 
>> memory allocation on top of searching through the string, and I 
>> decided to just drop it completely. If you want to implement the same 
>> functionality in your client code it is just mystring.Replace('-',''); 
>> but I would recommend switching over to the hyphenated version that is 
>> here to stay.
>>     
> wow...very good reason. perhaps OpenSim should follow suit,then...
>
>     cheers,
>     dirk
>
>   
Sounds fine to me personally.  It just needs somebody (or some people) 
to make all the necessary changes in OpenSim and decide how and to what 
extent to deal with migration from existing stored data. 

Just as an observation, this might not be an attractive task at the 
moment (possibly until the next 'crisis') since things do work right now 
and there are many other bugs/unimplemented features to attend to.

-- 
justincc
Justin Clark-Casey
OpenSim Developer




More information about the Opensim-dev mailing list