From: anaray anaray Date: 2012-07-01T14:05:52+09:00 Subject: Re: ruby performance Yes, I am Ruby newbie :) Later after posting this, i tried the Ruby way of iteration, but it also didn't help much, I am well short of requirement Thanks Jan E. wrote in post #1066782: > Hi, > > If performance is what you're after, I think Ruby is simply the wrong > language. > > You can try different Ruby implementations, you can optimize your code a > bit, but you'll never come close to the 8 seconds of Java. > > I'm not even sure if you've actually adapted Ruby, because the code > above rather looks like you're translating Java code into Ruby. -- Posted via http://www.ruby-forum.com/.