[Rcpp-devel] R vectorisation vs. C++ vectorisation
Hadley Wickham
h.wickham at gmail.com
Tue Nov 20 16:54:15 CET 2012
> 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/
More information about the Rcpp-devel
mailing list