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: Stefan Monnier
Subject: Re: What to do for faster `remove-duplicates'?
Date: Wed, 06 May 2015 08:59:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> So should `cl-remove-duplicates' be a 2-in-1 (lists for small input,

Don't know/don't care about cl-remove-duplicates, but for delete-dups, I'd
welcome a patch which switches to a hash-table after the Nth element.


        Stefan


PS: BTW, helm-fast-remove-dups's docstring says:

    This is same as `remove-duplicates' but with memoisation.

  but it doesn't actually use memoization, AFAICT.



reply via email to

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