emacs-devel
[Top][All Lists]
Advanced

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

Re: Recentf cleanup optmization


From: Stefan Monnier
Subject: Re: Recentf cleanup optmization
Date: Tue, 08 Sep 2009 12:23:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> 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




reply via email to

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