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
- Branch
- submit_unindexed
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 12394 Build 12412: arc lint + arc unit
src/file/regexpcache.cpp | ||
---|---|---|
60 | A quick note for future. There is QRegularExpression::wildcardToRegularExpression(), which apparently does precicely this. |