Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343682 - [performance] AbstractClassInstantiationChecker could be a bit faster
Summary: [performance] AbstractClassInstantiationChecker could be a bit faster
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-codan (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Marc-André Laperle CLA
QA Contact: Elena Laskavaia CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-23 02:18 EDT by Marc-André Laperle CLA
Modified: 2011-04-23 03:23 EDT (History)
1 user (show)

See Also:


Attachments
AbstractClassInstantiationChecker, cache pure virtual methods (2.80 KB, patch)
2011-04-23 02:18 EDT, Marc-André Laperle CLA
malaperle: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2011-04-23 02:18:42 EDT
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.
Comment 1 Marc-André Laperle CLA 2011-04-23 02:24:54 EDT
Committed to HEAD.
Comment 2 CDT Genie CLA 2011-04-23 03:23:14 EDT
*** 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