Issue Task New

#111542Reuse sort values in Filelist

Wouter Wolters 11/23/26, 19:43 updated 11/23/26, 19:43

Description

Compute each item’s sort value at most once per sort. Comparisons
reuse that value and keep the existing collation and tie breaking.

Sorting 100 files by reference count now takes 100 queries instead
of 1,134. Sorting 20 folders by size takes 20 scans instead of 146.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[TASK] Reuse sort values in Filelist Resolves: #111542 Releases: main