Revision 3a7afa7...
Go back to digest for 3rd November 2013Optimization in KDE Base
Milian Wolff committed changes in [kate] /:
Optimize Kate code completion.
a) Don't resort when we narrowed the filter, as then the sorting
should be preserved. This has a great effect (~50% faster).
b) Don't rematch items whose text did not change. This is mostly
an issue for KDevelop e.g. which has often multiple completion models
per view (word completion, language completion, snippets) and up
until now we would filter all items three times.
File Changes
Modified 4 files
- tests/completion_test.cpp
- tests/completion_test.h
- part/completion/katecompletionmodel.cpp
- part/completion/katecompletionmodel.h
4 files changed in total