[Opensim-dev] Proposal to eliminate the name, description and invType fields from the assets db table
Sean Dague
sean at dague.net
Mon Jun 23 14:35:48 UTC 2008
On Mon, Jun 23, 2008 at 02:47:18PM +0100, Melanie wrote:
> What is the purpose of creating UUIDs by hashing? If it's not
> duplicate detection/prevention, I see no reason. GUIDs are supposed
> to be random, I believe.
If you look at GUID allocation in the RFC, the type 5 GUID is sha1
based. It is a modified version of the sha1 algorithm plus reserved
bytes to identify types.
One of the reasons for this approach is duplicate prevention, both
internally and externally. For the average case of people uploading
assets this will help a little on both code savings and packet savings
in only sending out exactly 1 version of an asset even if people
uploaded the same basic stock bits.
For the average case of the os* functions that generate dynamic
textures, the savings would be quite high. Typically the images created
in textures end up being the same between iterations.
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080623/9920ce5d/attachment-0001.pgp>
More information about the Opensim-dev
mailing list