[Differential] [Request, 13 lines] D401: libarchiveplugin: Optimize copyFiles()
rthomsen (Ragnar Thomsen)
noreply at phabricator.kde.org
Sat Oct 10 20:47:26 UTC 2015
rthomsen created this revision.
rthomsen added a reviewer: elvisangelaccio.
rthomsen added a subscriber: kde-utils-devel.
rthomsen set the repository for this revision to rARK Ark.
rthomsen added a project: Ark.
REVISION SUMMARY
Optimize copyFiles() to stop iterating archive after all requested files have been extracted. Extracting a single entry, e.g. when previewing, is now much faster (depending on the location of the entry in the archive).
TEST PLAN
Tested previewing an entry in large tar.xz and tar.gz archives, as well as extracting all entries.
REPOSITORY
rARK Ark
REVISION DETAIL
https://phabricator.kde.org/D401
AFFECTED FILES
plugins/libarchive/libarchivehandler.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: rthomsen, elvisangelaccio
Cc: kde-utils-devel
More information about the Kde-utils-devel
mailing list