GitHub user SereneAnt opened a pull request:

    https://github.com/apache/spark/pull/18693

    [SPARK-21491][GraphX] Enhance GraphX performance: breakOut instead of .toMap

    ## What changes were proposed in this pull request?
    
    `Traversable.toMap` changed to 'collections.breakOut', that eliminates 
intermediate tuple collection creation, see [Stack Overflow 
article](https://stackoverflow.com/questions/1715681/scala-2-8-breakout).
    
    ## How was this patch tested?
    Unit tests run.
    No performance tests performed yet.
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/SereneAnt/spark performance_toMap-breakOut

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/18693.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18693
    
----
commit d7b73b544116314439a536ac944d66a8d7ee1113
Author: iurii.ant <[email protected]>
Date:   2017-07-20T21:03:43Z

    [SPARK-21491][GraphX] Enhance GraphX performance: eliminate intermediate 
collections creation with breakOut

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to