[Opensim-dev] [libsl-dev] UUID format: dashed here to stay?
Bowman, Mic
mic.bowman at intel.com
Wed Jan 16 17:50:54 UTC 2008
Just did a survey of the mysql database schemas...
Most of the databases use the string form with dashes.
The asset database uses a binary representation for the "id" field.
The land, prims, primshapes, and terrain databases all use string with
no dashes for UUID fields.
I personally prefer the dashed form as well (easy to read), and I can't
believe the performance or space requirements are sufficiently important
(relatively) to suggest one format over another (feel free to convince
me that I'm wrong though). Consistency would also make it easier to
manage the databases (eg to write scripts that handle garbage
collection).
--mic
From: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Stefan
Andersson
Sent: Wednesday, January 16, 2008 9:31 AM
To: opensim-dev at lists.berlios.de; Fox Diller
Cc: libsl dev
Subject: Re: [Opensim-dev] [libsl-dev] UUID format: dashed here to stay?
I would definitively suggest we use the default Guid.ToString() ie, with
dashes.
/Stefan
________________________________
Date: Wed, 16 Jan 2008 18:04:24 +0100
From: hud at zurich.ibm.com
To: fox at crystalstudio.ca
CC: opensim-dev at lists.berlios.de; libsl-dev at openmv.org
Subject: Re: [Opensim-dev] [libsl-dev] UUID format: dashed here to stay?
Fox Diller wrote:
Oh, I'm sorry. Though, wouldn't this be a perfect place for a ToString()
function overload, something like
LLUUID.ToString(bool dashed) ?
i guess the question is just: is this going to be the format for the
future and does it justify updating existing DBs or is this going to
change again...
cheers,
dirk
Thoughts?
.fox
On 16-Jan-08, at 3:23 AM, dirk husemann wrote:
Fox Diller wrote:
I would've thought that keeping them without dashes
inside of libSL would be more efficient? I mean, the dashes are just a
visual cue, aren't they? Something only to display formatted on the
gui/console side of your application?
sorry, i should have been more specific: the ToString()
format changed from non-dashed to dashed.
.fox
On Jan 16, 2008 2:21 AM, dirk husemann
<hud at zurich.ibm.com> wrote:
this popped up on the opensim-dev list: the UUID format
change a while ago to the dashed format, is this going to stay?
--
dr dirk husemann, pervasive computing, ibm zurich
research lab
--- hud at zurich.ibm.com --- +41 44 724 8573 --- SL: dr
scofield
_______________________________________________
libsl-dev mailing list
libsl-dev at openmv.org
http://openmv.org/cgi-bin/mailman/listinfo/libsl-dev
--
-------------------------------------------
Fox Diller/Kyle Polulak
CEO 0775222 B.C. LTD. DBA
Magrathean Technologies
Surrey, British Columbia
Canada
Email: fox at magrathean.ca
Phone: +1.604.817.6942
http://magrathean.ca <http://magrathean.ca/>
-------------------------------------------
________________________________
_______________________________________________
libsl-dev mailing list
libsl-dev at openmv.org
http://openmv.org/cgi-bin/mailman/listinfo/libsl-dev
--
dr dirk husemann, pervasive computing, ibm zurich
research lab
--- hud at zurich.ibm.com --- +41 44 724 8573 --- SL: dr
scofield
________________________________
_______________________________________________
libsl-dev mailing list
libsl-dev at openmv.org
http://openmv.org/cgi-bin/mailman/listinfo/libsl-dev
--
dr dirk husemann, pervasive computing, ibm zurich research lab
--- hud at zurich.ibm.com --- +41 44 724 8573 --- SL: dr scofield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080116/50a4e8fa/attachment-0001.html>
More information about the Opensim-dev
mailing list