<div dir="ltr"><div dir="ltr">Hello, I am new in this distribution list. I am using Rcpp for my project, and I enjoy the Rcpp implementation quite a lot. </div><div dir="ltr"><br></div><div dir="ltr">I have read the paper <a href="https://www.sas.upenn.edu/~jesusfv/Update_March_23_2018.pdf">https://www.sas.upenn.edu/~jesusfv/Update_March_23_2018.pdf</a> and I see the performance of Rcpp is about 4x times slower than C++ proper code, or 3x times slower than Numba/Cython Python code.</div><div dir="ltr"><br></div><div dir="ltr">Do you think that these figures are realistic? Of course, performance calculations are always dependent on many factors (very often, not explicit). But I am surprised that Rcpp is that slow in comparison to C++ code. I do not understand that Rcpp may be so slow, unless there are many calls back and forth between Rcpp and R. The same for compiled Python code vis a vis Rcpp.</div><div dir="ltr"><br></div><div dir="ltr">Or maybe I am wrong?</div><div dir="ltr"><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jordi Molins i Coronado</div><div><div>+34 69 38 000 59</div></div></div></div></div></div></div></div></div>