Quite a few of the filter strings are exact matches without wildcards,
add an extra QSet for these. This saves about 30% of the runtime cost
of the FilteredDirIterator.
Details
Details
valgrind --tool=callgrind baloo_file
Diff Detail
Diff Detail
- Repository
- R293 Baloo
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/file/regexpcache.cpp | ||
---|---|---|
60 | A quick note for future. There is QRegularExpression::wildcardToRegularExpression(), which apparently does precicely this. |