I have noticed many cases where the contents of a loop in Rcpp (or pure C) can be \'easily\' unswitched, but even with -O3 optimization there is a significant p
-O3