Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] performance improvement for indexing c-code

Hi,
while I have improved the handling of static vars/functions defined in
header
files I noticed that during indexing a lot of calls to
CFunction.resolveAllDeclarations()
are made. This problem was introduced a year ago and it was fixed for
C++-functions.
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=167311).

I have checked in a similar fix for plain-C, which speeds up the indexer
by 20%-30% on
c-files (measured using a linux-kernel). The measurement may be
inaccurate but I am
certain that this is a substancial performance improvement. 

Markus.


Back to the top