GitHub user a-roberts opened a pull request: https://github.com/apache/spark/pull/15736
[SPARK-18224] [CORE] Optimise PartitionedPairBuffer implementation ## What changes were proposed in this pull request? This change is very similar to my pull request for improving PartitionedPairAppendOnlyMap: https://github.com/apache/spark/pull/15735 Summarising (more detail above), we avoid the slow iterator wrapping in favour of helping the inliner. We observed that this, when combined with the above change, leads to a 3% performance increase on the HiBench large PageRank benchmark with both IBM's SDK for Java and with OpenJDK 8 ## How was this patch tested? Existing unit tests and HiBench large profile with both IBM's SDK for Java and OpenJDK 8, the PageRank benchmark specifically You can merge this pull request into a Git repository by running: $ git pull https://github.com/a-roberts/spark patch-11 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/15736.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 #15736 ---- commit 0d1411c0f14c7679931124838f01e8f44618c15f Author: Adam Roberts <arobe...@uk.ibm.com> Date: 2016-11-02T11:36:28Z [SPARK-18224] [CORE] Optimise PartitionedPairBuffer implementation This change is very similar to my pull request or improving PartitionedPairAppendOnlyMap: https://github.com/apache/spark/pull/15735 Summarising (more detail above), we avoid the slow iterator wrapping in favour of helping the inliner. We observed that this, when combined with the above change, leads to a 3% performance increase on the HiBench large PageRank benchmark with both IBM's SDK for Java and with OpenJDK 8 ---- --- 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