[ 
https://issues.apache.org/jira/browse/SPARK-17447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated SPARK-17447:
------------------------------
    Priority: Trivial  (was: Major)

It's not going to be a bottleneck though; the size of this array is hundreds or 
thousands at most. This is not a "Major" improvement.

Still this can be written more simply with filter and maxBy.


> performance improvement in Partitioner.DefaultPartitioner 
> ----------------------------------------------------------
>
>                 Key: SPARK-17447
>                 URL: https://issues.apache.org/jira/browse/SPARK-17447
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.0.0
>            Reporter: WangJianfei
>            Priority: Trivial
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> if there are many rdds in some situations,the sort will loss he performance 
> servely,actually we needn't sort the rdds , we can just scan the rdds one 
> time to gain the same goal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to