Disambiguating Rcpp11 and Rcpp

I pushed some code this morning to allow us to use this alternative syntax to use Rcpp11. #include <Rcpp11> using namespace Rcpp11 ; Of course the usual code will continue to work, and might even be preferable if you write code that needs to be compatible with both Rcpp11 and Rcpp, e.g. when doing comparative benchmarks ... #include <Rcp…keep reading

Vectorized vs Devectorized

This gist from @hadley has been on my mind for some time. This was already a follow up of this post from @johnmyleswhite. The problem was that sugar vectorised code suffered a performance penalty compared to devectorised code. This is particularly troubling me because the whole point of sugar is to have nice syntax without paying the price of the a…keep reading