Gregory Brown wrote:
> On 8/7/06, Eric Hodel <drbrain / segment7.net> wrote:
> 
>> IIRC an Integer's instance variables are eternal due to various
>> implementation details.
> 
> Specifically due to the fact that integers are immediate values in ruby.
> (Thus, are never collected)

Thank you for the answer.
This is good news for my purpose.
However, that creates another worry.

(1..100000).each {|i|...}

Now there are 100000 integers in the memory which won't die.
Is it okay?

Sam


-- 
Posted via http://www.ruby-forum.com/.