I agree - but I think messing with the algorithm in any way is no longer ensuring they 
will be unique.

This techique is very clever, however, and although I have no proof and don't have the 
necessary grounding in mathematics, I believe this will be much more likely (though 
improbable, maybe) to produce duplicates than a proper UUID.  (which is very very 
improbable)


- James

-----Original Message-----
From: Mark Stanton [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 4:56 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: a long shot...


I think the idea behind Vaughen suggestions is to address the issue of
sections of different UUIDs being identical. You may have unique two 35
character UUIDs in which the first 8 characters are identical (fairly
common).

I think Vaughan is suggesting that by hashing these two UUIDs then grabbing
the first 8 characters you have a better chance of getting a unique value.

The way I understand it is that UUIDs are not random but they should always
be unique. If CF is generating identical UUIDs its doing something wrong.


Cheers

Mark


______________
Mark Stanton
Web Production
Gruden Pty Ltd
Tel: 9956 6388
Mob: 0410 458 201
Fax: 9956 8433
http://www.gruden.com


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to