Revision 625193

Go back to digest for 21st January 2007

Optimization in Development Tools

David Nolden committed changes in /branches/kdevelop/3.4:

1. Remove a major bottleneck from the namespace-importing system, which showed when working with a big project that has many files and many imports into the global namespace. This implements a class that efficiently searches the imports by mapping them back from all their include-files and doing successive set-intersections instead of doing a linear search on all imports.
2. Some additional tweaks based on profiling.

File Changes

Modified 8 files
  • /branches/kdevelop/3.4
  •   /languages/cpp/cppcodecompletion.cpp
  •   /languages/cpp/safetycounter.h
  •   /languages/cpp/simpletype.cpp
  •   /languages/cpp/simpletypenamespace.cpp
  •   /languages/cpp/simpletypenamespace.h
  •   /lib/interfaces/codemodel.cpp
  •   /lib/interfaces/hashedstring.cpp
  •   /lib/interfaces/hashedstring.h
8 files changed in total