[Top][All Lists]

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

Re: fix for bug 10994 breaks ido customizations in major way

From: Óscar Fuentes
Subject: Re: fix for bug 10994 breaks ido customizations in major way
Date: Sat, 04 May 2013 10:58:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Le Wang <address@hidden> writes:

> On Sat, May 4, 2013 at 4:33 AM, Leo Liu <address@hidden> wrote:
>> On 2013-05-03 20:49 +0800, Le Wang wrote:
>> > There are a few ido customizations floating around that propertizes text.
>> >  This will break all of them.  I don't think this fix is acceptable.
>> That I wouldn't know. I only know what is in emacs and that the fix has
>> been in use for a while.  Feel free to propose a different fix
> Sure, I've attached a patch that deletes duplicates.

This change introduces a serious slowdown which is noticeable for large
candidate lists (try with 10000 elements.) The slowdown happens on every

It is obvious that having duplicate candidates makes no sense, but at
the same time scanning the list in advance for all duplicates is
expensive. I'll suggest detecting and removing the duplicates on the
navigation functions, maybe just the adjacent duplicates (using the list
as a ring.)

Another "fix" could be to require a duplicate-free list for

reply via email to

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