From: "Pablo Q." Date: 2008-11-22T03:23:58+09:00 Subject: Re: faster_csv vs File+split, why it is not faster? ------=_Part_113800_26896216.1227292075852 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I thought so... I'm just comparing a single case of FasterCSV to all the implementation of the library. Thank you for your time! 2008/11/21 James Gray > On Nov 21, 2008, at 11:55 AM, Pablo Q. wrote: > > RESULTS >> >> user system total real >> 16.180000 0.740000 16.920000 ( *17.246190*) >> user system total real >> 5.830000 0.120000 5.950000 ( *6.028469*) >> >> is this true? >> > > Is it true that File.split() is faster than FasterCSV? Yeah, I bet it is. > Likely reasons are: > > * It's written in C > * It doesn't handle all types of CSV data, so it has less work to do > > To give some examples, you split code doesn't parse this valid CSV data: > > no,quotes > > Or this: > > "embedded > newlines" > > Hope that explains things a bit. > > James Edward Gray II > > -- Pablo Q. ------=_Part_113800_26896216.1227292075852--