From: Michael Neumann Date: 2008-05-09T02:17:34+09:00 Subject: Re: Comparing String with Symbol Albert Schlef wrote: > Michael Neumann wrote: >>> # uses up memory in a hurry :) >> This one isn't better, despite being shorter ;-) >> >> a = []; loop { a << 1 } > > A slight improvement is to change '1' to '1.0'. A Fixnum doesn't > allocate an object structure. Yes, but it will run out space regardless :) Regards, Michael