[Top][All Lists]

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

Recentf cleanup optmization

From: Vincent Belaïche
Subject: Recentf cleanup optmization
Date: Sat, 05 Sep 2009 08:32:39 +0200

Dear Emacs expert,

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.

Best regards,


Attachment: recentf.tgz
Description: Optimization

reply via email to

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