Hi Konrad.
As Dirk said, Rcpp makes life easy for the programmer by taking care of some of
the background work automatically. So there may be a time vs. speed trade off
against bespoke handwritten code. I have a comparison between a few
implementations (base, C,Rcpp, Fortran) of a relatively
Hi Konrad,
On 10 August 2022 at 08:22, konrad wrote:
| I have a question regarding the cost of .Call. If I implement the
| rosenbrock function in R and in Rcpp. The R version is substentially
| faster then the C++ version. The Rcpp function is basically an R
| function which calls the C++