|
Subject: Re: [xsl] String hashing code From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Sat, 15 Dec 2007 15:38:14 +0100 |
True, though years of multithread programming has taught me a strong aversion to the inherent race condition in non-atomic test-and-create operations like this. It can't possibly be as big a risk as hash collision, but it doesn't stop me feeling any less dirty.
As always, perfection is impossible, so ultimately it comes down to how much effort I am willing to go to for that extra nine of reliability.
' VBScript to create a UUID:
Set TypeLib = CreateObject("Scriptlet.TypeLib")
NewGUID = TypeLib.Guid
WScript.Echo(left(NewGUID, len(NewGUID)-2))
Cheers, -- Abel Braaksma
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] String hashing code, Deborah Pickett | Thread | Re: [xsl] String hashing code, Deborah Pickett |
| RE: [xsl] XPath - excluding specifi, Michael Kay | Date | Re: [xsl] XPath - excluding specifi, Steven |
| Month |