---------- Forwarded message ---------- From: david rush kumoyuki@gmail.com Date: Feb 9, 2007 8:25 AM Subject: Re: [gambit-list] fast csv parser (libcsv wrapped for gambit) To: Marc Feeley feeley@iro.umontreal.ca
On 2/9/07, Marc Feeley feeley@iro.umontreal.ca wrote:
On 8-Feb-07, at 4:03 PM, Phil Dawes wrote:
I needed a fast csv parser for parsing large (multi-gig) files so I've wrapped the libcsv c code by Robert Gamble[1]. The first cut of csv.scm
Interesting. But why would you do it in C (in 600 lines of code) when you can do it in 20 lines of Scheme?
I was wondering about this as well. I had assumed that it had to do with features available in libcsv, but since I didn't have the time to do the homework, I didn't say anything. I certainly think you could meet (or beat) a C-library performance in Gambit, even if libcsv is using mmap to read the file in the first place...
david -- Once you label me, you negate me - Soren Kierkegaard