Hey Taco

I think destroying variables is a must in languages like C, but in Java you
have a garbage collector which is able to detect which memory is being used
& recover memory that is not. So I'd say that destroying variables is
probably not needed in most cases. 

Another point is that CF does not have a facility to destroy variables, I'm
guessing you mean that you are setting the value of a complex object to a
something simple like 0. 

If your variables is unscoped or request or whatever its going to expire
when the page has finished & will be cleaned up on the next run by the GC,
if its session or application based it'll expire when the scope expires &
will then be cleaned up. 

Unless you are using a lot of persistent variables don't bother, I think
this is fairly pointless in CF.


Cheers

Mark


------------------
Mark Stanton 
Technical Director 
Gruden Pty Ltd 
Tel: 9956 6388
Mob: 0410 458 201 
Fax: 9956 8433 
http://www.gruden.com  


---
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