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.
Details
Details
- Reviewers
elvisangelaccio dfaure jtamate - Group Reviewers
Dolphin - Commits
- R318:6d011e97305c: Compare UDS entry times directly instead of going through KFileItem
Sort order seems identical to before, opening a folder with a gazillion files and sorting by modification time is 12x faster here.
Diff Detail
Diff Detail
- Repository
- R318 Dolphin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
+2 from my part.
I was about to increment KFileItem to return that information also as long long.