From: Joel Pearson Date: 2012-09-05T22:04:51+09:00 Subject: Re: Long calculation & time limit If it's the file read that's taking a long time, maybe you should go about that a different way. Here's an example I found after a few seconds of googling: http://stackoverflow.com/questions/5557157/best-way-to-work-with-large-amounts-of-csv-data-quickly There are a few good ideas and comments in there, you might want to look into IO.foreach -- Posted via http://www.ruby-forum.com/.