News for hackers. Stuff that matters.
Re:FreeBSD spends 7% of its boot time running a bubblesort o... by somat on Friday May 19, 2023 @02:45PM (#36005457)
Slight scarcasm. yes too hard.

http://man.openbsd.org/qsort

having said that this specific sort is somewhere deep in kernel boot land. and kernel code can't really use the standard library. I am not sure if there is a standard kernel sort.

Re:FreeBSD spends 7% of its boot time running a bubblesort o... by kllrnohj on Friday May 19, 2023 @09:01PM (#36008453)
Of course it can. Just extract the qsort implementation to a static library pulled in by the kernel and by libc.