[Rcpp-devel] bounds checking disabled for RcppEigen?
andrew.slaughter at gmail.com
Wed Aug 1 23:59:59 CEST 2012
I'll see if I can dig up the old benchmarks I wrote looking at it; I'm
pretty sure I tried using both the (i,j) and .at(i,j) methods for
accessing, but I'll have to double-check. In any case, it was pretty much
the same sort of test as the code in my initial email - looping over a
moderate sized matrix, multiplying certain individual elements and
adding. Of course, I may well be overstating the "much"! It's been a couple
of months since I looked at it, IIRC.
On Wed, Aug 1, 2012 at 5:34 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
> | > Since RcppArmadillo was much slower than using STL vectors last time I
> | > it, I decided to benchmark Eigen before rewriting any code (see code
> Could you try to demonstrate that with a quick example? I'd be surprised if
> it were generally true, outside of maybe a corner-case or unusual config
> may have hit upon.
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel