emacs-devel
[Top][All Lists]
Advanced

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

Re: What to do for faster `remove-duplicates'?


From: Oleh Krehel
Subject: Re: What to do for faster `remove-duplicates'?
Date: Wed, 06 May 2015 15:51:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I attach the patch. I did a bunch of `benchmark-run' and it seems that
>> 100 elements is the breaking point.
>
> Looks good, please install.  It's hard to believe that you need a whole 100
> elements before it pays off ;-)

For a different completely unique collection, it breaks at 30. This is
because list-style deletion works faster when there are a lot of
duplicates.

Oleh




reply via email to

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