Diffusion Ark 01289d698855

Improve performance of cliplugins

Authored by rthomsen on Mar 20 2019, 8:13 PM.

Description

Improve performance of cliplugins

The CliPlugins are really slow when listing and extracting archives.
This is due to several QRegularExpressions being matched on each line of
output.

This diff removes all of the QRegularExpression matchings and uses
string comparison instead (e.g. startsWith(), contains() and ==()). This
necessitated moving some checks from the CliProperties class to the
individual CliPlugins, because each plugin has different requirements
for which string comparison methods should be used.

Differential Revision: D19766

Details

Committed
rthomsenMar 20 2019, 8:13 PM
Differential Revision
D19766: Improve performance of cliplugins
Parents
R36:e446cf1769b2: GIT_SILENT Upgrade KDE Applications version to 19.03.80.
Branches
Unknown
Tags
Unknown
References
tag: v19.03.80