Revert "Obsolete local set difference functions in favor of seq-difference"

This reverts commit 20f7fa691b.

gnus-set-difference is orders of magnitude faster than seq-difference
(on these sets), and using seq-difference makes nnimap too
slow.
This commit is contained in:
Lars Ingebrigtsen 2021-09-29 17:25:01 +02:00
parent e457cff3f4
commit b4b4cc98ac
7 changed files with 27 additions and 18 deletions

View file

@ -490,7 +490,6 @@ Equality is defined by TESTFN if non-nil or by `equal' if nil."
(seq-reverse sequence1)
'()))
;;;###autoload
(cl-defgeneric seq-difference (sequence1 sequence2 &optional testfn)
"Return a list of the elements that appear in SEQUENCE1 but not in SEQUENCE2.
Equality is defined by TESTFN if non-nil or by `equal' if nil."