[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master dab846e 2/2: Add a comment about bug#50877 for gnus-set-differenc
From: |
Lars Ingebrigtsen |
Subject: |
master dab846e 2/2: Add a comment about bug#50877 for gnus-set-difference |
Date: |
Wed, 29 Sep 2021 11:28:08 -0400 (EDT) |
branch: master
commit dab846e04ff9e4524a730936306ead149f9b9760
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Add a comment about bug#50877 for gnus-set-difference
---
lisp/gnus/gnus-range.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/gnus/gnus-range.el b/lisp/gnus/gnus-range.el
index 456209f..a8f09b6 100644
--- 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))