Re: [Rd] Measuring and comparing .C and .Call overhead

2011-07-19 Thread Simon Urbanek
On Jul 19, 2011, at 11:07 AM, Alireza Mahani wrote: > Further pursuing my curiosity to measure the efficiency of R/C++ interface, I > conducted a simple matrix-vector multiplication test using .C and .Call > functions in R. In each case, I measured the execution time in R, as well as > inside the

[Rd] Measuring and comparing .C and .Call overhead

2011-07-19 Thread Alireza Mahani
Further pursuing my curiosity to measure the efficiency of R/C++ interface, I conducted a simple matrix-vector multiplication test using .C and .Call functions in R. In each case, I measured the execution time in R, as well as inside the C++ function. Subtracting the two, I came up with a measure o