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 <e...@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 | e...@debian.org | http://dirk.eddelbuettel.com >
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel