Skip to content

I20230926-0600

@jukzi jukzi tagged this 26 Sep 07:19
findPackageFragmentRoot() searches through all PackageFragment Roots and
is called for every libPaths. This can be slow due to involved file
access.
see https://github.com/eclipse-jdt/eclipse.jdt.core/issues/303

Instead call getAllPackageFragmentRoots() only once, index the result
and use O(1) hash access.
Assets 2
Loading