Skip to content

Commit d0bad4d

Browse files
committed
switch to Light, Lighter, Lightest
1 parent 96a458b commit d0bad4d

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

inst/include/Rcpp/Light

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// New (draft) header with optional components off
2+
3+
// no Modules
4+
#define RCPP_NO_MODULES
5+
6+
// include Rcpp as usual
7+
#include <Rcpp/Rcpp>

inst/include/Rcpp/Lighter

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// New (draft) header with optional components off
2+
3+
// no RTTI (actually implies no Modules) -- solid gain
4+
#define RCPP_NO_RTTI
5+
6+
// include Rcpp/Light which includes Rcpp
7+
#include <Rcpp/Light>

inst/include/Rcpp/Lightest

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// New (draft) header with optional components off
2+
3+
// no Sugar (but unclear how much it helps)
4+
#define RCPP_NO_SUGAR
5+
6+
// include Rcpp/Lighter
7+
#include <Rcpp/Lighter>

0 commit comments

Comments
 (0)