summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-range.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-09-29 17:27:20 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-29 17:28:02 +0200
commitdab846e04ff9e4524a730936306ead149f9b9760 (patch)
tree6de042c86685ef45818cf36bb5bc330c37896517 /lisp/gnus/gnus-range.el
parentb4b4cc98ac271d079916a4c412e134fe5b4ba4d8 (diff)
downloademacs-dab846e04ff9e4524a730936306ead149f9b9760.tar.gz
emacs-dab846e04ff9e4524a730936306ead149f9b9760.tar.bz2
emacs-dab846e04ff9e4524a730936306ead149f9b9760.zip
Add a comment about bug#50877 for gnus-set-difference
Diffstat (limited to 'lisp/gnus/gnus-range.el')
-rw-r--r--lisp/gnus/gnus-range.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-range.el b/lisp/gnus/gnus-range.el
index 456209f3d9a..a8f09b63711 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))