all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: How to speed up ido?
Date: Sat, 17 Jan 2009 12:13:49 +0100	[thread overview]
Message-ID: <1232190893.921436@arno.fh-trier.de> (raw)
In-Reply-To: <79524ccc-94bf-4511-bf0f-3a81337f08a7@r10g2000prf.googlegroups.com>

senny wrote:
> Hey there
> 
> I wrote a function to open any file in my project using ido. The
> Problem is, that the project has a lot of files and a deeply nested
> directory structure. When i then complete the file name in ido using
> fuzzy-matching it is extremely slow and unusable. Is there a way to
> increase the speed of ido? or should i take another approach to this
> problem? I am currently using the method "ido-completing-read".
> 
> regards,
> Senny


A while ago I wrote a mode called ido-hacks. As the name
suggests it contains a couple of more or less dirty
modifications to ido, among them :

* faster display of prospect (streamlined one loop)
* caching of already computed flex-matches
* use ido for every completing-read call

If you're interested I could mail/post it and you could maybe
extract the optimization parts (It's one advice and one redefinition.)
Btw, I am using it all the time.

-ap


  reply	other threads:[~2009-01-17 11:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-17  9:37 How to speed up ido? senny
2009-01-17 11:13 ` Andreas Politz [this message]
2009-01-17 12:48   ` Seweryn Kokot
     [not found]   ` <mailman.5113.1232196142.26697.help-gnu-emacs@gnu.org>
     [not found]     ` <1232197162.491902@arno.fh-trier.de>
     [not found]       ` <1232197823.618527@arno.fh-trier.de>
2009-01-17 14:18         ` senny
2009-01-17 17:26           ` Seweryn Kokot
2009-01-18 11:06         ` Andreas Politz
2009-02-17 14:13           ` David Combs
2009-01-17 15:04   ` William Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232190893.921436@arno.fh-trier.de \
    --to=politza@fh-trier.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.