diff options
author | Tor Myklebust <tmyklebu@gmail.com> | 2014-04-19 15:10:18 -0700 |
---|---|---|
committer | Matei Zaharia <matei@databricks.com> | 2014-04-19 15:10:26 -0700 |
commit | 9ce6ed401aaca7c8f5243392be6e2ab283f3b81c (patch) | |
tree | 18874bdf4e26fb995325e522938bfc890361c494 /conf/spark-env.sh.template | |
parent | 6ab071982bd400536abe99e96b2e7fc4b8bd6b94 (diff) | |
download | spark-9ce6ed401aaca7c8f5243392be6e2ab283f3b81c.tar.gz spark-9ce6ed401aaca7c8f5243392be6e2ab283f3b81c.tar.bz2 spark-9ce6ed401aaca7c8f5243392be6e2ab283f3b81c.zip |
[SPARK-1535] ALS: Avoid the garbage-creating ctor of DoubleMatrix
`new DoubleMatrix(double[])` creates a garbage `double[]` of the same length as its argument and immediately throws it away. This pull request avoids that constructor in the ALS code.
Author: Tor Myklebust <tmyklebu@gmail.com>
Closes #442 from tmyklebu/foo2 and squashes the following commits:
2784fc5 [Tor Myklebust] Mention that this is probably fixed as of jblas 1.2.4; repunctuate.
a09904f [Tor Myklebust] Helper function for wrapping Array[Double]'s with DoubleMatrix's.
(cherry picked from commit 25fc31884b0382b2d43c55e1f55e305a73dfae91)
Signed-off-by: Matei Zaharia <matei@databricks.com>
Diffstat (limited to 'conf/spark-env.sh.template')
0 files changed, 0 insertions, 0 deletions