From: "Gaurav C." Date: 2011-11-28T05:48:16+09:00 Subject: Re: Is high-speed sorting impossible with Ruby? Douglas Seifert wrote in post #1033966: > My takeaway from all of this: stick > with > normal Ruby idioms (see the standard_ruby.rb solution) and you will get > pretty close. Yea. That really does make sense. The solution in standard_ruby.rb is clean and simple and by disabling GC, this one was also accepted on codechef (it showed 13.12 seconds). I also changed 'readline' to 'gets' and it took 13.00 seconds. :) Maybe 'gets' is faster than 'readline'. -- Posted via http://www.ruby-forum.com/.