From: Simon Krahnke Date: 2008-05-09T03:05:34+09:00 Subject: Re: Comparing String with Symbol * Michael Neumann (19:17) schrieb: > 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 :) No, that depends on how much space is available. mfg, simon .... l