eclipse-jdt / eclipse-jdt/eclipse.jdt.core
performance: Scope.findMethodInSuperInterfaces with redundant superinterfaces
Open
performance
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
org.eclipse.jdt.internal.compiler.lookup.Scope.findMethodInSuperInterfaces(ReferenceBinding, char[], ObjectVector, List, InvocationSite)
lineary searches through `interfacesToVisit`
sampling data from https://github.com/eclipse-jdt/eclipse.jdt.core/pull/3387#issuecomment-2606816518:

@fedejeanne you may want to improve this for already visited types too, using a IdentityHashMap
Contributor guide
Assessment
This issue has not been assessed yet.