> Good to know.

Better to know exactly. (Well soon we may get the book from Manning, they took 
a half year to elaborate Dom's draft, so hopefully they explain all these 
details... 

But seriously, I assume your conclusion is not correct. I myself am still 
surprised by that behaviour, and I think it may be a trap for many beginners. 
But I think the special case of my code is, that the array contains strings, 
and that strings are watched by the GC. My code was only intended for initial 
testing, generally I would tend to avoid such large objects on the stack, 
primary to avoid stack overflows. And I have to admit that I do not understand 
currently why the seq is no problem for the GC, as it also contains all the 
strings.

Reply via email to