This allows us to skip the slow MimeTypeChecker::wantedMimeTypes
call, which allocates a QStringList on every call. This removes
~200k temporary allocations that I see in one heaptrack file for
kmail.
Details
Details
- Reviewers
dvratil - Commits
- R165:fc8db03b57f2: Introduce MimeTypeChecker::hasWantedMimeTypes
Diff Detail
Diff Detail
- Repository
- R165 Akonadi
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.