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

Vector.equals and Vector.hashCode are very inefficient and fail on SparseVectors with large size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1, 1.2.0, 1.2.1
    • 1.2.2
    • MLlib
    • None

    Description

      The implementation of Vector.equals and Vector.hashCode are correct but slow for SparseVectors that are truly sparse.

      Attachments

        Issue Links

          Activity

            People

              yuhaoyan yuhao yang
              derrickburns Derrick Burns
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.25h
                  0.25h
                  Remaining:
                  Remaining Estimate - 0.25h
                  0.25h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified