News for hackers. Stuff that matters.
Re:FreeBSD spends 7% of its boot time running a bubblesort o... by Avshalom on Friday May 19, 2023 @03:43PM (#36006007)
Off Topic: "Laying out icons on a grid should be an inherently linear operation"

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.

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............