Re: Garbage and macros

new topic     » goto parent     » topic index » view thread      » older message » newer message

> If you need to save space, it may help to set a large sequence
>  to {} when you no longer need it's value, but remember that
>  Euphoria will automatically free all the private variables of a routine
>  when that routine returns. Whenever you assign a new value to
>  a variable, any space used by the previous value is recycled.

If it is in the main program code, would it be unrealistic to expect the
interpreter to figure out that the variable is not used again ? It would be
nice to have memory matters taken completely off our hands, as this is one of
the things Euphoria boasts about eg dynamic resizing and reformatting.

Daniel

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu