unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Speed improvements to ido.el
@ 2012-11-20 18:25 Daniel Skarda
  2012-11-21  3:20 ` Leo
  2012-11-21  3:37 ` Dmitry Gutov
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel Skarda @ 2012-11-20 18:25 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]

Hello,

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

[-- Attachment #2: Type: text/html, Size: 1628 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-01  0:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-20 18:25 Speed improvements to ido.el Daniel Skarda
2012-11-21  3:20 ` Leo
2012-11-21  3:37 ` Dmitry Gutov
2012-11-22  9:36   ` Daniel Skarda
2012-11-30 13:42     ` Daniel Skarda
2012-12-01  0:40       ` Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).