Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20083

Change matrix toArray to not create a new array when matrix is already column major

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • 2.2.0
    • None
    • ML

    Description

      toArray always creates a new array in column major format, even when the resulting array is the same as the backing values. We should change this to just return a reference to the values array when it is already column major.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sethah Seth Hendrickson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: