Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use sort_by_cached_key when the key function is not trivial/free #55821
added a commit
this pull request
Nov 15, 2018
Let's see what perf says. I think that the
def_path_hash calls are likely not a win. Not sure about the others.
Looks like a win:
I can update the commit taking into account the comments - theoretically it could make the wins even nicer.