On Fri, 3 Dec 2021 at 15:44, Víthor Rosa <vrosafra...@gmail.com> wrote: > > Hi Iñaki and Dirk, > > Thank you for your response. Adding my functions to an R package and changing > the Makevars file as suggested reduced the runtime by half. Excited for Rcpp > 1.0.8! :)
Excellent! Glad it helped. Iñaki > > Best, > > Em qui., 2 de dez. de 2021 às 18:22, Dirk Eddelbuettel <e...@debian.org> > escreveu: >> >> >> On 2 December 2021 at 17:48, Iñaki Ucar wrote: >> | My simulation package makes heavy use of calls to R user functions from a >> | C++ simulation loop, and therefore greatly benefits from this feature too, >> | which I think we should promote to default. >> >> I agree and believe I looked into it once before -- but found 'shrapnel' from >> other packages being affected. We are eight months into the (simpler !!) >> transition to default to STRICT_R_HEADERS which will go in with Rcpp 1.0.8 in >> January (and yay, yesterday brought several updates, so my thanks to >> everybody who folded patches or PRs I sent in and uploaded; current score is >> now 70 out 92 done, see https://github.com/RcppCore/Rcpp/issues/1158 ) >> >> So maybe in 2022... >> >> | Meanwhile, take a look at this >> | Makevars file to see how to activate it: >> | https://github.com/r-simmer/simmer/blob/master/src/Makevars >> >> Yep. >> >> Dirk >> >> -- >> https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org > > > > -- > Prof. Ph.D. Víthor Rosa Franco > Universidade São Francisco (USF), Campinas, SP, Brazil > Phone: +55 61 994602228 > Curriculum > > No amount of experimentation can ever prove me right; a single experiment can > prove me wrong. -- Iñaki Úcar _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel