From: Robert Klemme Date: 2011-09-19T16:48:12+09:00 Subject: Re: Ruby Speed Question On Sun, Sep 18, 2011 at 8:42 PM, Josh Cheek wrote: > Some reasons differences between the Ruby and Java versions are that Ruby > doesn't have primitives, so all those numbers are objects (ie using Java's > Integer rather than int). This is not 100% true. While they are from a language user's perspective under the hood there are some optimizations especially for Fixnums. This still leaves overhead for method invocation but memory usage is very low and there is no GC overhead. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/