May be missing what you're trying to do, but how about generating a uuid
and then having another structure linking uuids to structures. 

<cfset aKey = CreateUUID()>
<cfset myStructs[aKey] = AStructure>

You are of course only storing a reference to the struct, not the struct
itself.

Matt.

> -----Original Message-----
> From: James Sleeman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 2 September 2002 12:52 p.m.
> To: CF-Talk
> Subject: Uniquely identifing a structure.
> 
> 
> Hi all,
>     I need to get a simple string value that will uniquely 
> identify a given
> structure, currently what I am using is this...
> 
> <CFWDDX ACTION="CFML2WDDX" INPUT=#AStructure# OUTPUT="AWddx">
> <CFSET aKey = Hash(AWddx)>
> 
> which produces exactly what I want, but my problem is that 
> this happens
> several times per request and thus it is potentially a bottle 
> neck (even if
> wddx is fast, the structure in question could possibly be large).
> 
> Does anybody have any better ideas on how to accomplish this ?
> 
> ---
> James Sleeman
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.384 / Virus Database: 216 - Release Date: 24/08/2002
> 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to