D14394: Compare UDS entry times directly instead of going through KFileItem

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jul 26 08:40:47 BST 2018


broulik created this revision.
broulik added reviewers: Dolphin, elvisangelaccio, dfaure, jtamate.
Restricted Application added a project: Dolphin.
Restricted Application added a subscriber: kfm-devel.
broulik requested review of this revision.

REVISION SUMMARY
  This avoids creating a `QDateTime` object with all the timezone processing that comes with it since we're only interested in the relative order, not absolute precise date time values.

TEST PLAN
  Sort order seems identical to before, opening a folder with a gazillion files and sorting by modification time is 12x faster here.

REPOSITORY
  R318 Dolphin

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

AFFECTED FILES
  src/kitemviews/kfileitemmodel.cpp

To: broulik, #dolphin, elvisangelaccio, dfaure, jtamate
Cc: kfm-devel, spoorun, navarromorales, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180726/b2b4e7c7/attachment.htm>


More information about the kfm-devel mailing list