From: Tim Pease Date: 2008-02-08T05:33:39+09:00 Subject: Re: is lots of files with Threads faster? On Feb 7, 2008, at 1:21 PM, Chris Richards wrote: > Im required to open 50+ files and parse the data in them. WOuld using > multiple threads give me the best performance? or is it best just > to do > it sequentially? > Better to do it sequentially since (1) ruby is single threaded anyways, (2) the disk IO is going to be the biggest bottleneck, and (3) you'll most likely run out of file descriptors. Blessings, TwP