|
|
|
|
|
by tener
3456 days ago
|
|
Neat algorithm, but it is largely comparing apples to oranges. std::sort is universal, ska_sort is not: > Another problem is that I’m not sure what to do for data that I can’t sort. For example this algorithm can not sort a vector of std::sets > Another problem is that right now there can only be one sorting behavior per type. You have to provide me with a sort key, and if you provide me with an integer, I will sort your data in increasing order. If you wanted it in decreasing order, there is currently no easy interface to do that. Useful algorithm, but we already knew there are faster algorithms if we introduce additional requirements! |
|