While this is true in your case , it depends on the machine being used etc.

GUIDs are created using a complicated algorithm which take several factors
into consideration. Sometimes this results in consecutive UUID (Guids) being
1 apart, other times it doesn't. It depends on the resource etc. etc.
For example if the GUID function drops its counter it has to start again at
a point that is definitely past the last one it generated.

Justin MacCarthy

>-----Original Message-----
>From: C Frederic Valone [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, January 02, 2001 3:51 PM
>To: CF-Talk
>Subject: Re: Generating unique values
>
>
>> I just checked this out by generating a loop of 50 uuid's and
>found that none of the values are incremented  by 1 they differ in
>various ways although the last portion of the id is the same in all cases.
>
>> Here is the list that was generated
>
>00075D9C-F809-1A51-B7D6809AFF5FEEB7
>00075E16-F809-1A51-B7D6809AFF5FEEB7
>00075E7D-F809-1A51-B7D6809AFF5FEEB7
....
>0007B5EE-F809-1A51-B7D6809AFF5FEEB7
>0007B64F-F809-1A51-B7D6809AFF5FEEB7
>
>>
>>
>> Tuesday, January 02, 2001, 6:15:41 AM, you wrote:
>>
>> J> But it doesn't create values which are not easy to guess.
>>
>> J> Two consecutive UUID will have similar values + 1
>>
>> J> Justin


~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server!      Instant Activation for $99/month w/Free 
Setup from SoloServer      PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support     
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to