Message-ID: <201108261611.16964.cubranic@stat.ubc.ca>
Date: 2011-08-26T23:11:16Z
From: Davor Cubranic
Subject: [Rcpp-devel] New self-contained OpenMP example (Was: Stack imbalance warning when using Rcpp and OpenMP)
In-Reply-To: <20055.50264.401883.140033@max.nulle.part>
On August 26, 2011 09:05:44 AM Dirk Eddelbuettel wrote:
> That's what I get with Davor's additions:
>
> 5 funSerialRcpp(z) 100 8.960 2.242242 8.57 0.39
> 3 funSerialStdAlgRcpp(z) 100 8.975 2.245996 9.39 0.34
Interesting -- using std::transform was consistently faster for me in both
Rcpp and std::vector variants.
I was using gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4), on KUbuntu 11.04.
Davor