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 <e...@debian.org> wrote: > > > 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-level directory (and also > cleaning up some of the sprawling header mess :) ) it may easier. > > | In this particular case, Víthor is interested in runtime performance. > | Disabling modules and RTTI (and Sugar if he's not using that) will > | save some compilation time, but won't help with runtime performance. > > Understood. But it is a compile-time switch like these. > > Dirk > > -- > https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org > _______________________________________________ > 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 _______________________________________________ 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