[Rcpp-devel] Cost of function pointer dereferencing

Davor Cubranic cubranic at stat.ubc.ca
Thu Dec 23 22:53:57 CET 2010

On 2010-12-23, at 10:03 AM, romain at r-enthusiasts.com wrote:

>> Maybe you could create a functor for each basic function and use that in a common loop implementation.
>> I also tried templatizing Ftor on the function it delegates to, so that you could do something like Ftor<exp>(), but I couldn't get it to compile. Your template-fu is far better than mine, so maybe you'll be able to wrangle it into shape and have even more succint code.
> My plan is to go through macros

I guess it is simpler, but oh so old-fashioned. :-)


More information about the Rcpp-devel mailing list