D29562: KDirectoryContentsCounter: Avoid scanning twice the same dir, prioritise path not in cache

Méven Car noreply at phabricator.kde.org
Sat May 9 15:25:28 BST 2020


meven created this revision.
meven added reviewers: Dolphin, elvisangelaccio, ngraham.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
meven requested review of this revision.

REVISION SUMMARY
  Use QVector instead of QQueue to avoid adding to the queue twice the same dir for subsequent scanning.
  
  Add a priority queue for path that were not already present in cache.

REPOSITORY
  R318 Dolphin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29562

AFFECTED FILES
  src/kitemviews/private/kdirectorycontentscounter.cpp
  src/kitemviews/private/kdirectorycontentscounter.h

To: meven, #dolphin, elvisangelaccio, ngraham
Cc: kfm-devel, waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, ngraham, andrebarros, emmanuelp, rdieter, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200509/42455c26/attachment.htm>


More information about the kfm-devel mailing list