From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: vincent.belaiche@gmail.com (Vincent Belaïche)
Cc: emacs-devel@gnu.org
Subject: Re: Recentf cleanup optmization
Date: Tue, 08 Sep 2009 12:23:54 -0400 [thread overview]
Message-ID: <jwv63btbe2n.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87iqfxnbp4.fsf@gmail.com> ("Vincent Belaïche"'s message of "Sat, 05 Sep 2009 08:32:39 +0200")
> I realized that recentf cleanup is very slow when you have a long list
> of saved items (e.g. as few as 60). This is because there is a duplicate
> suppression based on linear search (quadratic time).
> Starting from latest code on CVS I made an optimization using a hash
> table, and this solves the issue.
> Please find it herein attached.
Could you send it as a patch instead? Otherwise, it's difficult to see
what changes you've made.
Stefan
prev parent reply other threads:[~2009-09-08 16:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-05 6:32 Recentf cleanup optmization Vincent Belaïche
2009-09-08 16:23 ` Stefan Monnier [this message]
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=jwv63btbe2n.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=vincent.belaiche@gmail.com \
/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.