]> git.eshelyaron.com Git - sweep.git/commit
Optimize predicate completion at point
authorEshel Yaron <me@eshelyaron.com>
Tue, 14 Nov 2023 08:40:21 +0000 (09:40 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 14 Nov 2023 08:40:21 +0000 (09:40 +0100)
commit68a2b02cd3e423124472ac2ef1f31de3837b420d
tree59dece6c4398a4ab76219d794072f1a410b92c32
parentfa8c35798bef61daa3b7f1c2fd8759a7c241c20c
Optimize predicate completion at point

* sweep.pl (sweep_heads_collection/2): Optimize for speed.  Also
report functor length and arity for each candidate to facilitate
faster sorting.
* sweeprolog.el (sweeprolog-init-args): Add '-O'.
(sweeprolog-predicate-completion-candidates): Improve sorting.
sweep.pl
sweeprolog.el