Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance: avoid O(n^2) in PDEJavaHelper #747

Merged
merged 1 commit into from
Sep 26, 2023

Commits on Sep 25, 2023

  1. performance: avoid O(n^2) in PDEJavaHelper

    findPackageFragmentRoot() searches through all PackageFragment Roots and
    is called for every libPaths. This can be slow due to involved file
    access.
    see eclipse-jdt/eclipse.jdt.core#303
    
    Instead call getAllPackageFragmentRoots() only once, index the result
    and use O(1) hash access.
    EcljpseB0T authored and HannesWell committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    42c0a49 View commit details
    Browse the repository at this point in the history