From: Francis Cianfrocca Date: 2006-07-29T06:05:52+09:00 Subject: Re: For performance, write it in C ------=_Part_24491_30316584.1154120737621 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Again, I haven't seen your code or your data, but 50 minutes still seems like a frightfully long time for such minimal processing on only 15 million rows. If I were you, I'd keep optimizing (but then I'm pretty obsessive about optimizing). Exactly how much time does GzipWriter take, for example? Several people have correctly said that you stop optimizing when your program is "fast enough" (which is a business decision, not a technical one), but optimizing strictly inside of Ruby is a lot cheaper than optimizing by dropping into C (which I do often enough), because you don't incur the portability and other costs everyone has been talking about. ------=_Part_24491_30316584.1154120737621--