The sorting used to use numpys argsort. This is larger for large lists, but as we often call the sorting for smaller lists, the overhead of going to python for the small calls far outweighs the improvements numpy gives. As such this change instead makes use of the quicksort algorithm in the standard c library.
The sorting used to use numpys argsort. This is larger for large lists, but as we often call the sorting for smaller lists, the overhead of going to python for the small calls far outweighs the improvements numpy gives. As such this change instead makes use of the quicksort algorithm in the standard c library.