Revision 884777
Go back to digest for 16th November 2008Optimization in Development Tools
Jakub Stachowski committed changes in /trunk/KDE/kdesdk/strigi-analyzer/diff:
Another optimization - use strncmp instead of QString::startsWith.
This allows to avoid costly creation of QString object if there is no regexp matching required.
This gives another 6.5x speedup on indexing text files or unified diffs.
File Changes
Modified 2 files
- /trunk/KDE/kdesdk/strigi-analyzer/diff
- /difflineanalyzer.cpp
- /difflineanalyzer.h
2 files changed in total