diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-29 17:25:01 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-29 17:28:02 +0200 |
commit | b4b4cc98ac271d079916a4c412e134fe5b4ba4d8 (patch) | |
tree | b512da9839cf37fa37322df806406de4297dcc31 /lisp/gnus/gnus-uu.el | |
parent | e457cff3f48b6fc3fe9efc30b9896181c59011da (diff) | |
download | emacs-b4b4cc98ac271d079916a4c412e134fe5b4ba4d8.tar.gz emacs-b4b4cc98ac271d079916a4c412e134fe5b4ba4d8.tar.bz2 emacs-b4b4cc98ac271d079916a4c412e134fe5b4ba4d8.zip |
Revert "Obsolete local set difference functions in favor of seq-difference"
This reverts commit 20f7fa691b7c2859b96550d9ccb326bf394e160d.
gnus-set-difference is orders of magnitude faster than seq-difference
(on these sets), and using seq-difference makes nnimap too
slow.
Diffstat (limited to 'lisp/gnus/gnus-uu.el')
-rw-r--r-- | lisp/gnus/gnus-uu.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-uu.el b/lisp/gnus/gnus-uu.el index f7b761ee339..778a8a3ea03 100644 --- a/lisp/gnus/gnus-uu.el +++ b/lisp/gnus/gnus-uu.el @@ -579,7 +579,7 @@ didn't work, and overwrite existing files. Otherwise, ask each time." (defun gnus-new-processable (unmarkp articles) (if unmarkp (nreverse (seq-intersection gnus-newsgroup-processable articles #'eq)) - (seq-difference articles gnus-newsgroup-processable #'eq))) + (gnus-set-difference articles gnus-newsgroup-processable))) (defun gnus-uu-mark-by-regexp (regexp &optional unmark) "Set the process mark on articles whose subjects match REGEXP. |