On 21 April 2015 at 11:01, ogami musashi wrote: | Benchmarks against fread shows the code i use returns a lighter object | (a simple matrix) and thus processes faster. | | reading 400 16,2Mb files with a 6 cores took 177,949 seconds with the | cpp function and 228.231 seconds with fread. | | Neadless to say both are considerably faster than read.table (took 21669 | seconds!) and read_csv from readr package (took about the same). | | I know it would be better to contribute an rcpp gallery but for now i | just have time to post the code here:
I would definitely like a Rcpp Gallery post showing that code this simple beats all the competitors, ideally with chart of the benchmark results :) I guess knowing your dimensions does indeed help a great deal. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel