Implement the key= keyword argument for sort() and sorted()
I don't think the current implementation will be that fast and will probably do poorly in sort()/sorted() microbenchmarks. My feeling is that it doesn't matter that much, but if it does there are some things we can do to optimize it.
Showing
test/tests/sort_cmp.py
0 → 100644
Please register or sign in to comment