Dear R experts:

I attempted to compile c source code  into DLL using "R CMD SHLIB" but I
found the DLL run in R is almost twice slower than the codes compiled in C++
6.0 when I chose "release" option and is as fast as the situation where I
chose "debug" option in C++ 6.0.  I wonder how to improve the efficiency of
DLL compiled by gcc compiler in R.  Thanks in advance!

Xin 
-- 
View this message in context: 
http://n4.nabble.com/Efficiency-of-C-Compiler-in-R-CMD-SHLIB-tp1934429p1934429.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to