Tor Myklebust created SPARK-1535:
------------------------------------
Summary: jblas's DoubleMatrix(double[]) ctor creates garbage; avoid
Key: SPARK-1535
URL: https://issues.apache.org/jira/browse/SPARK-1535
Project: Spark
Issue Type: Improvement
Components: MLlib
Affects Versions: 0.9.0
Reporter: Tor Myklebust
Priority: Trivial
The DoubleMatrix constructor that wraps a double[] and presents it as a row
vector in jblas-1.2.3 new's a double[] and then immediately discards it. It is
straightforward to replace uses of this constructor with the (int, int,
double...) constructor; perhaps this should be done until jblas-1.2.4 is
released.
--
This message was sent by Atlassian JIRA
(v6.2#6252)