| Summary: | [performance] AbstractClassInstantiationChecker could be a bit faster | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc-André Laperle <malaperle> | ||||
| Component: | cdt-codan | Assignee: | Marc-André Laperle <malaperle> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Elena Laskavaia <elaskavaia.cdt> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cdtdoug | ||||
| Version: | 8.0 | ||||||
| Target Milestone: | 8.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Committed to HEAD. *** cdt cvs genie on behalf of mlaperle *** Bug 343682 - [performance] AbstractClassInstantiationChecker could be a bit faster [*] AbstractClassInstantiationChecker.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/AbstractClassInstantiationChecker.java?root=Tools_Project&r1=1.1&r2=1.2 |
Created attachment 193950 [details] AbstractClassInstantiationChecker, cache pure virtual methods I use AbstractClassInstantiationChecker on rather big files and I notice that it is a bit slower than other checkers. A lot of time is spent getting the pure virtual methods for class types. This could be cached.