[Top][All Lists]

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

Re: Speed improvements to ido.el

From: Dmitry Gutov
Subject: Re: Speed improvements to ido.el
Date: Wed, 21 Nov 2012 07:37:13 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Daniel Skarda <address@hidden> writes:

Hey Daniel,

Like Leo said, please provide some numbers.

A comparison to the current trunk would be best, since it contains an
additional optimization compared to the emacs-24 branch.

Here my test setup from the relevant discussion:


> I like to use ido mode for everything, including very large lists (like M-x or
> info). Unfortunately ido is not suitable for such lists. On my old notebook,
> performance is not amazing, so I took the challenge and spend some time with
> profiler.
> I improved the performance in several steps:
> - inlined several functions
> - disabled ido-case-fold for some completions (eg commands)
> - prunning collections based on character bitmaps
> - caching character bitmaps during completion or for same completions
> - caching intermediate completion lists when adding new characters
> You can view my changes on github:
> - https://github.com/orfelyus/ido-speed-hack
> - https://github.com/orfelyus/ido-mode-el
> - (and optionally) https://github.com/orfelyus/ido-better-flex
> ido-speed-hack includes large changes (bitmaps) while ido-mode-el includes 
> minor
> changes to ido.el 
> The changes made huge speed improvements on my notebook and ido does not feel
> sluggish even with very large lists. 
> Could you please test my improvements? I would appreciate any feedback.
> Dan
> ps: I am not subscribed to the mailing list, please keep me in Cc

reply via email to

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