GitHub user mengxr opened a pull request: https://github.com/apache/spark/pull/2937
[SPARK-4084] Reuse sort key in Sorter Sorter uses generic-typed key for sorting. When data is large, it creates lots of key objects, which is not efficient. We should reuse the key in Sorter for memory efficiency. This change is part of the petabyte sort implementation from @rxin . You can merge this pull request into a Git repository by running: $ git pull https://github.com/mengxr/spark SPARK-4084 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/2937.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 #2937 ---- commit 464ddcec24d0c8c1554a31427560489b55803fd2 Author: Reynold Xin <r...@apache.org> Date: 2014-09-25T02:05:04Z cherry-pick rxin's commit commit cf94e8adf717cdedf3c4b6e99d513ad5bd6da572 Author: Xiangrui Meng <m...@databricks.com> Date: 2014-10-24T21:32:49Z renaming commit b00db4d0cd0b4080e296b1100f57918548568c18 Author: Xiangrui Meng <m...@databricks.com> Date: 2014-10-24T22:00:31Z doc and tests ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org