spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tor Myklebust (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-1535) jblas's DoubleMatrix(double[]) ctor creates garbage; avoid
Date Fri, 18 Apr 2014 17:29:17 GMT
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)

Mime
View raw message