[Rcpp-devel] Rcpp Timer

Kaspar Märtens kaspar.martens at gmail.com
Thu Dec 29 13:55:22 CET 2016


Trying out the Rcpp Timer example from
http://gallery.rcpp.org/articles/using-the-rcpp-timer/ I was unable to
reproduce similar results. The example output

    get/put g/p+rnorm()  empty loop
  1.967e+03   3.288e+03   6.400e-04

compared to the output I see

    get/put g/p+rnorm()  empty loop
   733.5265   1884.9589   1884.9601

Suspiciously, the empty loop appears to take the longest. Could these be
cumulatively measured times here?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20161229/2977053f/attachment.html>

More information about the Rcpp-devel mailing list