From: Dave Thomas Date: 2000-12-16T07:40:01+09:00 Subject: [ruby-talk:7357] Re: Ruby performance question Eric Crampton writes: > Running on a small dataset of 13 MB of data (around 81000 lines), the > program takes about 27 seconds on my Linux machine. An equivalent Perl > code to do the same thing runs in about 10 seconds. What happens if you disable garbage collection before you start, and re-enable it after you read in the whole file? It could be that with the large number of objects you're creating the GC scan could be quite expensive. Dave