Re: [Rcpp-devel] Rcpp::plugins - Unwinding protection

2021-12-03 Thread Víthor Rosa
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! :) Best, Em qui., 2 de dez. de 2021 às 18:22, Dirk Eddelbuettel escreveu: > > On 2 December 2021 at 17:48, Iñaki

Re: [Rcpp-devel] Rcpp::plugins - Unwinding protection

2021-12-03 Thread Iñaki Ucar
On Fri, 3 Dec 2021 at 15:44, Víthor Rosa 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

Re: [Rcpp-devel] Rcpp::plugins - Unwinding protection

2021-12-03 Thread Dirk Eddelbuettel
On 3 December 2021 at 17:03, Iñaki Ucar wrote: | On Fri, 3 Dec 2021 at 15:44, Víthor Rosa wrote: | > | > 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 h

Re: [Rcpp-devel] Rcpp::plugins - Unwinding protection

2021-12-03 Thread Iñaki Ucar
On Fri, 3 Dec 2021 at 19:27, Dirk Eddelbuettel wrote: > > > On 3 December 2021 at 17:03, Iñaki Ucar wrote: > | On Fri, 3 Dec 2021 at 15:44, Víthor Rosa wrote: > | > > | > Thank you for your response. Adding my functions to an R package and > changing the Makevars file as suggested reduced the ru

Re: [Rcpp-devel] Rcpp::plugins - Unwinding protection

2021-12-03 Thread Dirk Eddelbuettel
On 3 December 2021 at 19:47, Iñaki Ucar wrote: | Mmmh, no strong opinions here. I think it doesn't matter much whether | it's an include or a define. What matters most is whether this is | discoverable and the user understands what it does. That was my motivation -- by pointing to such a top-leve

Re: [Rcpp-devel] Rcpp::plugins - Unwinding protection

2021-12-03 Thread Kevin Ushey
I'm a fan. I think we could just have a single header RcppLite.h which would turn off the "heaviest" pieces of Rcpp; that is, modules + sugar + (maybe?) RTTI. Or, we could allow for #define RCPP_LEAN_AND_MEAN ... ;-) On Fri, Dec 3, 2021 at 10:57 AM Dirk Eddelbuettel wrote: > > > On 3 December 20

Re: [Rcpp-devel] Rcpp::plugins - Unwinding protection

2021-12-03 Thread Dirk Eddelbuettel
On 3 December 2021 at 12:06, Kevin Ushey wrote: | I'm a fan. I think we could just have a single header RcppLite.h which | would turn off the "heaviest" pieces of Rcpp; that is, modules + sugar | + (maybe?) RTTI. Yep. That's where I started. I may make that a PR then. But I also still lean to al