Add a comment about bug#50877 for gnus-set-difference

This commit is contained in:
Lars Ingebrigtsen 2021-09-29 17:27:20 +02:00
parent b4b4cc98ac
commit dab846e04f

View file

@ -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))