Re: [Rcpp-devel] Question on performance

2018-09-24 Thread Dirk Eddelbuettel
On 24 September 2018 at 08:48, Kyle Baron wrote: | Here's an updated version of the Rcpp code with a single call: | https://github.com/jesusfv/Comparison-Programming-Languages-Economics/compare/master...kylebmetrum:master | | The comparison runs are here: | https://github.com/kylebmetrum/Compa

Re: [Rcpp-devel] Question on performance

2018-09-24 Thread Kyle Baron
Here's an updated version of the Rcpp code with a single call: https://github.com/jesusfv/Comparison-Programming-Languages-Economics/compare/master...kylebmetrum:master The comparison runs are here: https://github.com/kylebmetrum/Comparison-Programming-Languages-Economics/issues/1 For typical a s

Re: [Rcpp-devel] Question on performance and strategy

2018-09-24 Thread Ralf Stubner
On 9/22/18 8:41 PM, Jordi Molins wrote: > I have access to a machine (not a desktop) with quite a few CPUs and > quite a few GPUs. So, if for example there are 100 CPU cores and 100,000 > GPU cores, I guess that I could do a foreach for these 100 CPU cores for > an R function, and then if this R fu

Re: [Rcpp-devel] Question on performance

2018-09-24 Thread Iñaki Ucar
El dom., 23 sept. 2018 13:01, Iñaki Ucar escribió: > Also you can try adding > > // [[Rcpp::plugins(unwindProtect)]] > > to InsideLoop.cpp. That should boost the performance too with the > latest version of Rcpp. > Taking a look now, and I realize there are just calls to C++, not to R. So, pleas