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.
-- 
Posted via http://www.ruby-forum.com/.