Skip to content

Speed up NotificationSubscriber::acceptsItemNotification

David Faure requested to merge work/dfaure/qmimedatabase_aliases into master

Hotspot spotted a lot of time spent resolving mimetype aliases while processing notifications http://www.davidfaure.fr/2020/qmime_alias.png

We might as well resolve to canonical aliases upfront, setting up subscriptions happens a lot less than actual notifications.

Alternatively we should just use canonical mimetypes everywhere :-)

Merge request reports

Loading