[chuck-users] variables and memory
dbozelos at yahoo.gr
Fri Mar 20 15:55:02 EDT 2009
as i've read in the documentation or maybe in some email in this list, ChucK lacks garbage collector. If my understanding is correct this means that it does not automatically free the memory that any variable needs after getting out of its scope. So this probably mean that if I run a loop that declares a variables like
for( int i = 0; i < 100; i++; )
int var1; float var2;
// do things
and have this code called many times inside an infinite loop and do other stuff in other shreds, after a while it's inevitable to run into problems. Is this correct? Is there anything like c++'s delete to free memory?
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users