[Rcpp-devel] bounds checking disabled for RcppEigen?
Andrew Slaughter
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.
- Andy
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
> tried
> | > it, I decided to benchmark Eigen before rewriting any code (see code
> below
>
> 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
> you
> may have hit upon.
>
> Dirk
>
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120801/71a42f7b/attachment.html>
More information about the Rcpp-devel
mailing list