From: Kvetch Kvetch Date: 2010-02-11T12:59:07+09:00 Subject: fastest readline method I have a script that parses a bunch of data off the wire and pipes it into a fastercsv array. I want to read in a text file and check certain columns for matches from the data in the text file. There seems to be tons of different ways read in a file and "grep" match for something. I would like to do this in the fastest possible method. Reading in the file each time could potentially take too long, so I assume reading it into memory would be my best bet but perhaps not. I can arrange the data in the file in any manner, 1 entry per line, delimited some how or whatever. Does anyone have any suggestions on my best bet to do this? thanks -- Posted via http://www.ruby-forum.com/.