|
|
|
|
|
by IshKebab
1120 days ago
|
|
True but I think the real cause of this is surely that C makes it too hard to use a sorting library that someone competent has written. I would not be surprised if the author was fully aware of the N^2 complexity but opted for a simpler implementation anyway. |
|
(More realistically, below people are discussing that in the kernel environment the set of standard or third party library available may be unavoidably limited)