]> git.eshelyaron.com Git - emacs.git/commit
Resolve sort predicate ahead of time
authorMattias Engdegård <mattiase@acm.org>
Wed, 16 Mar 2022 16:33:07 +0000 (17:33 +0100)
committerMattias Engdegård <mattiase@acm.org>
Thu, 17 Mar 2022 09:35:57 +0000 (10:35 +0100)
commit72a313d3922d109a4351a4dec15e903b2a70d0a3
tree85af2e7676597214abf4ebe23407ea0c850ac51e
parent8ef42e085be82a88ed01dc449b26f8bc582c149e
Resolve sort predicate ahead of time

* src/sort.c (tim_sort): If the sort predicate is a symbol, find the
corresponding function before starting the sort.  This is especially
beneficial if the predicate was an alias (`string<`, for example).
src/sort.c