On Wed, Aug 1, 2012 at 5:02 AM, Tridib Bandopadhyay
<[email protected]> 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/

-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to