From: Tridib Bandopadhyay Date: 2012-08-01T04:24:08+09:00 Subject: String Handling in Ruby Hello all, I am trying to inspect how ruby allocates string. I created an array of size 61 million and allocated two different kinds of string in that array using a loop. One small string like "MAC" and second a big string (like from a to z). And i tried to measure the time of the whole process using Time function. Strangely while allocating the small string the program takes 120 seconds whereas while allocating the big string it takes 65 seconds. Can any one tell me why this time difference is going on? Regards Tridib -- Posted via http://www.ruby-forum.com/.