> P.S. I don't think the sugar versions can be made any quicker, because > they have to allocate intermediate vectors, and do more memory copies.
I don't think they _have_to - my understanding is that the expression template approach is general enough that you could compile away those intermediates. It may be extremely difficult to do though! Hadley -- RStudio / Rice University http://had.co.nz/ _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
