[gambit-list] fast csv parser (libcsv wrapped for gambit)

Phil Dawes pdawes at users.sf.net
Fri Feb 9 05:05:42 EST 2007


Marc Feeley wrote:
> Interesting.  But why would you do it in C (in 600 lines of code) when 
> you can do it in 20 lines of Scheme?
> 

Ignorance maybe!
There's a little more to csv parsing than just splitting on ",", but 
having said that your code runs a lot quicker than I was expecting.

I had tried http://www.neilvandyke.org/csv-scm/ but this was really slow 
so turned my sights to wrapping a c library.

Thanks!

Phil



More information about the Gambit-list mailing list