Re:ParaText: CSV parsing at 2.5 GB per second
by Ygg2 on Wednesday June 08, 2016 @11:07AM
(#11862711)
Can this be used to speed up rust-csv?
Re:ParaText: CSV parsing at 2.5 GB per second
by burntsushi on Wednesday June 08, 2016 @04:28PM
(#11865390)
It feels like something that should be built on top of rust-csv.
Firstly, their core parsing routine is a state machine not unlike the one found in rust-csv: https://github.com/wiseio/paratext/blob/master/src/csv/rowba...
Secondly, they do indeed appear to be achieving high parsing speed using coarsely grained parallelism. You can see the code that chunks up the CSV data here: https://github.com/wiseio/paratext/blob/master/src/generic/c...
It's pretty clever!