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

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


Hi Brad,

Bradley Lucier wrote:
> 
> On Feb 9, 2007, at 1:36 PM, Phil Dawes wrote:
> 
>> wrapped libcsv  ~240ms
>> Marc comma splitter  ~510ms
>> Phil Bewig csv parser  ~1008ms
>>
> 
> Just a question---did you compile the Scheme code with the usual 
> benchmark declarations
> 
> (declare (standard-bindings)(extended-bindings)(block)            ;; 
> basically R6RS
>          (fixnum) (not safe))                                     ;; I 
> presume there's only fixnum characters in a line ;-)
> 

Oops! - good point.

That brings the Phil Bewig parser down to ~950 ms
(it didn't make much difference to the other two)

Cheers,

Phil






More information about the Gambit-list mailing list