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

Performance enhancement: eliminate creation of intermediate collections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • GraphX
    • None

    Description

      Simple performance optimization in a few places of GraphX:
      Traversable.toMap can be replaced with collection.breakout.
      This would eliminate creation of an intermediate collection of tuples, see
      Stack Overflow article

      Attachments

        Activity

          People

            sereneant Iurii Antykhovych
            sereneant Iurii Antykhovych
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: