Re:FreeBSD spends 7% of its boot time running a bubblesort o...
by Someone on Friday May 19, 2023 @07:40PM
(#36008032)
* * *
Re:FreeBSD spends 7% of its boot time running a bubblesort o...
by EuropeOverlords on Friday May 19, 2023 @08:22PM
(#36008255)
you have indexes............
it doesn't seem mentioned in the HN thread the cause here is probably the same thing O(n^2): sorting. laying out icons is only linear if the icons are read in the order that they're placed. It's been a long time since I used windows regularly but my memory is the default placement is by creation time. So if they're read off disk by filename (or some sort of hash) they'd need to be sorted by timestamp.