Here's one I've used:

<cfset theStruct = structNew()>
<cfloop list="#theList#" index="item">
   <cfset theStruct[item] = 0>
</cfloop>
<cfset newList = structKeyList(theStruct)>

Using Jason's measure I'm getting around 60 ms.

-- 
Mark Stanton 
Gruden Pty Ltd 
http://www.gruden.com

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to