Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow users to disable inclusion of modules code #993

Closed
kevinushey opened this issue Sep 27, 2019 · 1 comment · Fixed by #995
Closed

allow users to disable inclusion of modules code #993

kevinushey opened this issue Sep 27, 2019 · 1 comment · Fixed by #995

Comments

@kevinushey
Copy link
Contributor

The modules code in Rcpp (especially the 'code bloat') is responsible for a large chunk of the time spent during compilation, as the compiler has to do a lot of work to parse all of the generated functions.

What would we think about adding a define RCPP_NO_MODULES (similar to RCPP_NO_SUGAR) that would allow users to disable inclusion of the modules code, for cases where they know they don't need it?

@kevinushey
Copy link
Contributor Author

It could also be worth looking into using variadic functions as a replacement when C++11 features are available there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant