GitHub user sryza opened a pull request: https://github.com/apache/spark/pull/1461
SPARK-2553. CoGroupedRDD unnecessarily allocates a Tuple2 per dependency... ... per key My humble opinion is that avoiding allocations in this performance-critical section is worth the extra code. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sryza/spark sandy-spark-2553 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1461.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 #1461 ---- commit 7eaf7f2a18ddea7ee47aacb5c5559c278a924899 Author: Sandy Ryza <sa...@cloudera.com> Date: 2014-07-17T08:19:48Z SPARK-2553. CoGroupedRDD unnecessarily allocates a Tuple2 per dependency per key ---- --- 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. ---