bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57079: 29.0.50; Performance of seq-uniq is not very good


From: Lars Ingebrigtsen
Subject: bug#57079: 29.0.50; Performance of seq-uniq is not very good
Date: Tue, 09 Aug 2022 19:23:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> delete-dups is destructive.  You can copy the list first, of course, but
>> seq-uniq should be much faster than it is.
>
> How much faster?  Using copy-sequence and delete-dups is 7 times
> faster here than seq-uniq and twice faster than
> gnus-delete-duplicates.

I didn't claim that seq-uniq will be faster than copy + delete-dups; I
just said that it's unnecessarily slow.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]