Skip to content
Commit 01289d69 authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

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
parent e446cf17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment