|
|
back to boardHow do we have a stable sort better than the builtin timsort in Python? I tried implementing mergesort which probably had recursion depth runtime error; bisect insertion to save some memory, but too slow for python list (perhaps a good alternative if I have access to pointer?); heapq is much faster but instable. What are other options? |
|
|