Rcpp11 / attributes

Standalone implementation of Rcpp attributes.
Other
3 stars 1 forks source link

export( benchmark ) #14

Open romainfrancois opened 10 years ago

romainfrancois commented 10 years ago

Could be interesting to have a benchmark parameter to the export attribute e.g.:

// [[Rcpp::export(benchmark=TRUE) ]]
int fooo(){
   // do something 
   return 2 ;
}

This would instrument the generated code somehow so that we have information about run time.