From dab846e04ff9e4524a730936306ead149f9b9760 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 29 Sep 2021 17:27:20 +0200 Subject: Add a comment about bug#50877 for gnus-set-difference --- lisp/gnus/gnus-range.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/gnus/gnus-range.el') 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)) -- cgit v1.2.3