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

Iñaki Ucar iucar at fedoraproject.org
Fri Dec 3 17:03:09 CET 2021


On Fri, 3 Dec 2021 at 15:44, Víthor Rosa <vrosafranco at 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 <edd at 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 | edd at 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


More information about the Rcpp-devel mailing list