GitHub user hellodengfei opened a pull request:

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

    SPARK-25429

    Use Set improve SparkListenerBus efficient
    
    ## What changes were proposed in this pull request?
    
    Use Set instead of Array to provide lookup performance: Set#contains
    
    ## How was this patch tested?
    
    The original test case can guarantee

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

    $ git pull https://github.com/hellodengfei/spark branch-2.3

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

    https://github.com/apache/spark/pull/22420.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 #22420
    
----
commit e8a5bae5283453b1ee7ff595d140112141dd1016
Author: daniedeng(邓飞) <daniedeng@...>
Date:   2018-09-14T08:58:52Z

    SPARK-25429
    Use Set improve SparkListenerBus efficient

----


---

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

Reply via email to