From: Robert Klemme Date: 2012-08-03T06:22:01+09:00 Subject: Re: String Handling in Ruby On Wed, Aug 1, 2012 at 5:02 AM, Tridib Bandopadhyay wrote: > Thanks Henry that was very much helpful. > > OK now I have my own extension which allocates object. It takes 48 > seconds to allocate 61 million number of strings in an array which my > extension creates whereas regular ruby takes 120 seconds to allocate > strings in a regular array. What makes the Ruby to take so long time to > allocate the string? You did not even show your original code, let alone the modified version. How can you expect we can answer these questions? Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/