The other thing, Taco, is do you really want to encourage it to think about garbage 
collecting mid request?

I used to do a lot of desktop Java application programming and that was always fun 
when I was doing things with many threads and alpha-beta pruning big trees and then 
the collector kicks in!!! >:-)
(though it was way back when and I know that aspect of the virtual machine's meant to 
be cleaned up a lot now)

- J

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


On Mar 8, 2004, at 8:27 PM, Taco Fleur wrote:
> structDelete(variables, "variableName")

Yes, that will also cause the variable to be garbage collected 
(eventually). To be honest, I doubt it'll make much difference to 
performance (except perhaps slow things down since structDelete() is 
expensive) - unless you're talking about instance data in a CFC that is 
held in a shared scope.

CFMX is very good at creating and destroying short-lived data - without 
you needing to do anything like this.

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