From: Dave Hatton Date: 2007-01-31T02:40:27+09:00 Subject: Re: Correct way to process a file in Ruby? Hi Chris, > I just slurp the file into an array (File.readlines) and then > split the array into separate arrays of each record type. I guess I should have mentioned that these files are binary format and can be quite large - anywhere from 3M to 50MB, so I was hoping to process them on disk. Would reading into an array still be appropriate in Ruby? -- Posted via http://www.ruby-forum.com/.