projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b4cc9
)
Add a comment about bug#50877 for gnus-set-difference
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 29 Sep 2021 15:27:20 +0000
(17:27 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 29 Sep 2021 15:28:02 +0000
(17:28 +0200)
lisp/gnus/gnus-range.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-range.el
b/lisp/gnus/gnus-range.el
index 456209f3d9ada63ed609b77df1491d339946a2f1..a8f09b63711ac9130f54db7d871c9c4531fef436 100644
(file)
--- a/
lisp/gnus/gnus-range.el
+++ b/
lisp/gnus/gnus-range.el
@@
-40,6
+40,8
@@
If RANGE is a single range, return (RANGE). Otherwise, return RANGE."
(define-obsolete-function-alias 'gnus-copy-sequence 'copy-tree "27.1")
+;;; We could be using `seq-difference' here, but it's much slower
+;;; on these data sets. See bug#50877.
(defun gnus-set-difference (list1 list2)
"Return a list of elements of LIST1 that do not appear in LIST2."
(let ((hash2 (make-hash-table :test 'eq))