Revision 898773

Go back to digest for 21st December 2008

Optimization in Development Tools

David Nolden committed changes in /trunk/KDE/kdevplatform/language/duchain:

Greatly speed up the import-cache computation.
If the imported context does not build a loop with the base one, just efficiently merge its imported set, instead of recursing through all imports.

This took about 20% of parsing time, and now should hopefully be near zero.

File Changes

Modified 2 files
  • /trunk/KDE/kdevplatform/language/duchain
  •   /topducontext.cpp
  •   /topducontextdata.h
2 files changed in total