Community
Participate
Working Groups
GlobalFunctionStrategy#reportAlias, may slowdown CA if you have many "use" elements. Is this necessary? Slowest part is search for methods without qualifier (namespace).
It scan all "use" elements in current namespace (method,function,const) if use is like: use My\Super\Namespace\Clazz; Next on each search for: 1. methods name prefixed by "My\Super\Namespace\Clazz" - this will never happen, but is killer for database. 2. next for exact function My\Super\Namespace\Clazz() Same if use element have alias.
I reduced main bottleneck [1]. But this method still have to be refactored. [1] - https://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=cf4b6965f9785c76e5ccf5af05d356895d9a7b77