structDelete(variables, "variableName")

I am assuming this will destroy the variable?

It certainly does not show as defined if I try a #isDefined("variables.variableName")#

Taco Fleur
07 3535 5072
Blog: http://www.tacofleur.com/index/blog/
Methodology: http://www.tacofleur.com/index/methodology/
Tell me and I will forget
Show me and I will remember
Teach me and I will learn


-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 9 March 2004 2:25 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Variables > To destroy or not to destroy?


On Mar 8, 2004, at 8:19 PM, Taco Fleur wrote:
> When I work with multiple variables that contain quite some data, I 
> usually destroy each one after I am done with it.

What do you mean by "destroy"? If you reset variables to 0 or "" then, 
yes, the garbage collector will be able to reclaim them earlier rather 
than later but I doubt it will make much difference to the performance 
(unless these variables live in shared scopes).

Regards,
Sean


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

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

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

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to