Memory de-allocation question

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

Let's say I have a global sequence that contains 50K small sequences. Each of the 50K sequences is unique.

sequence s = make_crazy_sequence(50000) 

I don't know exactly how much memory s takes up, but let's say it's enough to matter but not enough to be a significant problem on a modern PC.

What happens when I do this later?

s = {} -- does this free most of the memory? If so, instantly or eventually? 

And a couple of follow-ups. Since s is a global, I might be incorrect in assuming there isn't a way to totally annihilate and free s. Am I? Do Phix and Euphoria behave differently?

Thanks.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu