Re:FreeBSD spends 7% of its boot time running a bubblesort o...
by cultofmetatron on Friday May 19, 2023 @01:48PM
(#36004805)
in what way did I misunderstand?
> C makes it too hard to use a sorting library that someone competent has written.
rust makes it easy to create generic data structures via generics. It would be trivial to swap between different underlying sorting algos as long as it was given a type compatible function for how to compare the contained items.
> C makes it too hard to use a sorting library that someone competent has written.
rust makes it easy to create generic data structures via generics. It would be trivial to swap between different underlying sorting algos as long as it was given a type compatible function for how to compare the contained items.
what exactly am I not understanding here?