Displaying 3 results from an estimated 3 matches for "use_fast_protect_macro".
Did you mean:
use_fast_protect_macros
2010 Aug 23
1
Speed improvement to PROTECT, UNPROTECT, etc.
...of PROTECT are in places where R_PPStack, etc. aren't
visible. Instead, one can redefine them at the end of Defn.h, where
these variables are declared. That alone also doesn't work, however,
because some references don't work at link time. So instead I
redefine them in Defn.h only if USE_FAST_PROTECT_MACROS is defined.
I define this before including Defn.h in all the .c files in the main
directory.
Another complication is that the PROTECT macro no longer returns its
argument. One can avoid this by writing it another way, but this then
results in its argument being referenced in two places (though...
2010 Sep 03
0
Pointer to fourteen patches to speed up R
...est-parens.r
In the parens part of test-parens.r, the speedup is about 9%.
patch-protect
Speeds up numerous operations by making PROTECT, UNPROTECT, etc.
be mostly macros in the files in src/main. This takes effect
only for files that include Defn.h after defining the symbol
USE_FAST_PROTECT_MACROS. With these macros, code of the form
v = PROTECT(...) must be replaced by PROTECT(v = ...).
Relevant timing test scripts: all of them, but will look at test-em.r
On test-em.r, the speedup from this patch is about 9%.
patch-save-alloc
Speeds up some binary and unary arithme...
2010 Sep 03
1
Fourteen patches to speed up R
...est-parens.r
In the parens part of test-parens.r, the speedup is about 9%.
patch-protect
Speeds up numerous operations by making PROTECT, UNPROTECT, etc.
be mostly macros in the files in src/main. This takes effect
only for files that include Defn.h after defining the symbol
USE_FAST_PROTECT_MACROS. With these macros, code of the form
v = PROTECT(...) must be replaced by PROTECT(v = ...).
Relevant timing test scripts: all of them, but will look at test-em.r
On test-em.r, the speedup from this patch is about 9%.
patch-save-alloc
Speeds up some binary and unary arithme...