]> git.eshelyaron.com Git - emacs.git/commit
* Improve constraint simplification logic in comp-cstr.el
authorAndrea Corallo <akrl@sdf.org>
Wed, 16 Dec 2020 17:41:18 +0000 (18:41 +0100)
committerAndrea Corallo <akrl@sdf.org>
Mon, 21 Dec 2020 19:21:33 +0000 (20:21 +0100)
commit48d43f579e3d2f7e1423f315d537b51de51ea6a4
treeb195e6c4d9f25b55188837086b0af6245e42ac60
parenta0c0daf7a1059fac432f9507cbd198682d057ee5
* Improve constraint simplification logic in comp-cstr.el

* lisp/emacs-lisp/comp-cstr.el (with-comp-cstr-accessors):
Simplify.
(comp-cstr-empty-p): New Funchion.
(comp-split-pos-neg): Minor.
(comp-normalize-typeset): Logic update.
(comp-union-typesets): Minor.
(comp-intersect-two-typesets): New functio.
(comp-intersect-typesets): Logic update.
(comp-range-union, comp-range-intersection): Minor.
(comp-cstr-union-homogeneous, comp-cstr-union-1-no-mem)
(comp-cstr-intersection-homogeneous)
(comp-cstr-intersection-no-mem, comp-cstr-negation)
(comp-type-spec-to-cstr, comp-cstr-to-type-spec): Logic update.

* lisp/emacs-lisp/comp-cstr.el (with-comp-cstr-accessors): Simplify.
lisp/emacs-lisp/comp-cstr.el