Optimize ArchiveModel::cleanFileName
Summary: Creating the QRegularExpression is expensive and cleanFileName is called for each entry. By not re-creating the regex we gain a significant archive load time improvement Test Plan: {F7786657} Left is before, right is after. Note the red block on the left that isn't present on the right Reviewers: #ark, elvisangelaccio Reviewed By: #ark, elvisangelaccio Subscribers: elvisangelaccio, kde-utils-devel Tags: #ark Differential Revision: https://phabricator.kde.org/D25565
parent
a97350d6
Please register or sign in to comment