Skip to content

document switcher: cache document mime type

Sven Brauch requested to merge document-switcher-performance into master

It takes a significant time to compute this every time when a lot of documents are open, since it needs to access the file on disk.

The other part of time is taken by QShortcutMap, see https://codereview.qt-project.org/c/qt/qtbase/+/589322

With both changes changing documents via Ctrl+Tab feels instant even with lots of documents open.

Merge request reports

Loading