[Rcpp-commits] r2022 - pkg/Rcpp
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Aug 15 14:26:06 CEST 2010
Author: romain
Date: 2010-08-15 14:26:06 +0200 (Sun, 15 Aug 2010)
New Revision: 2022
Modified:
pkg/Rcpp/TODO
Log:
log possible problem with diff
Modified: pkg/Rcpp/TODO
===================================================================
--- pkg/Rcpp/TODO 2010-08-15 12:20:17 UTC (rev 2021)
+++ pkg/Rcpp/TODO 2010-08-15 12:26:06 UTC (rev 2022)
@@ -55,6 +55,9 @@
o not sure rep should be lazy, i.e. rep( x, 4 ) fetches x[i] 4 times,
maybe we should use LazyVector like in outer to somehow cache the
result when it is judged expensive to calculate
+
+ o The current impl of "diff" might cause problems (e.g. with ifelse) due to
+ laziness, it is probably best to not make it lazy
o crossprod
More information about the Rcpp-commits
mailing list