[gambit-list] fast csv parser (libcsv wrapped for gambit)
Phil Bewig
pbewig at gmail.com
Sat Feb 10 09:38:21 EST 2007
I stand corrected.
It does read into a buffer, then parse one character at a time. Perhaps my
function is slow because I read one character at a time instead of reading
into a buffer.
Phil
On 2/10/07, Phil Dawes <pdawes at users.sf.net> wrote:
>
> Phil Bewig wrote:
> >
> > Based on my very quick reading, it looks like libcsv doesn't allow
> > embedded newlines, doesn't handle odd end-of-line conventions, and hard
> > codes the comma as field separator. Perhaps my code is slower because
> > it does all these things?
> >
>
> Hi Phil,
>
> I might be missing something, but I think it does everything except
> allow other field seperators. It also parses one character at a time.
> See the 'parse_csv' c function in:
> http://www.phildawes.net/2007/gambit-csv/0.1/csv.scm
>
> Cheers,
>
> Phil
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20070210/8f2bdc49/attachment.htm>
More information about the Gambit-list
mailing list