On August 26, 2011 09:05:44 AM Dirk Eddelbuettel wrote: > That's what I get with Davor's additions: > > 5 funSerialRcpp(z) 100 8.960 2.242242 8.57 0.39 > 3 funSerialStdAlgRcpp(z) 100 8.975 2.245996 9.39 0.34
Interesting -- using std::transform was consistently faster for me in both Rcpp and std::vector variants. I was using gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4), on KUbuntu 11.04. Davor _______________________________________________ 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