stephenslab / mashr

An R package for multivariate adaptive shrinkage.
https://stephenslab.github.io/mashr
Other
88 stars 19 forks source link

More formal performance benchmarks to decide when to adopt R or CPP version #23

Open gaow opened 6 years ago

gaow commented 6 years ago

Currently mashr has implementations of some chunks of computations in R AND CPP both, a relic at prototyping stage. Though the default is CPP for now, we have not formally established under which situation CPP code will way out-perform R codes -- considering much as been done also on the algebra end to optimize computations.

To make the code less complicated to maintain and add to, we might want to benchmark performance more formally and keep only one winner version for each R vs CPP computation.