[
https://issues.jboss.org/browse/JBIDE-12490?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich resolved JBIDE-12490.
-------------------------------------------
Resolution: Done
Improve type resolution performance
-----------------------------------
Key: JBIDE-12490
URL:
https://issues.jboss.org/browse/JBIDE-12490
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: common/jst/core
Affects Versions: 3.3.0.Final
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.0.0.Alpha1
Method IType.resolveType(String typeName) is rather slow - it takes about 5ms for a class
with ~20 imports and ~3 super types. For a middle size project with ~500 classes and ~100
type references per class it will take about 4 minutes to resolve all of them. We should
try to do our best to resolve type in a simplified way and invoke IType.resolveType only
when it fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira