From: Ned Konz Date: 2001-08-16T03:13:06+09:00 Subject: [ruby-talk:19816] Re: how to speed up hash script? On Wednesday 15 August 2001 11:07 am, I wrote: > First, why are you slurping the whole file into memory at once? This seems > inefficient, since you're only populating the hash one line at a time. Sorry, I missed what you were trying to do (that is, to get to the data by line number). Anyway, if you want my line-by-line profiler, I posted it to the Ruby list at [ruby-talk:18997]. I'm sure it could be improved. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com