GNU bug report logs - #36714
27.0.50; Gnus nnmaildir taking long time to recursively visit sub-Maildirs

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Thu, 18 Jul 2019 12:22:01 UTC

Severity: wishlist

Found in version 27.0.50

Done: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Bug is archived. No further changes may be made.

Full log


Message #52 received at 36714 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 36714 <at> debbugs.gnu.org, Jean Louis <bugs <at> gnu.support>
Subject: Re: bug#36714: 27.0.50; Gnus nnmaildir taking long time to
 recursively visit sub-Maildirs
Date: Mon, 22 Jul 2019 10:41:36 -0700
On 07/22/19 09:34 AM, Basil L. Contovounesios wrote:
> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> Second of all... unfortunately I don't know this code well enough to
>> figure it out without sitting down with a chunk of time. So far as I can
>> tell, nnmaildir scans the maildir directories using `directory-files',
>> which by itself is very quick. Presumably what's slow is registering all
>> the messages inside the directories, and I don't immediately see a way
>> of preventing that.
>
> Would it be possible to do custom directory filtering in the
> 'directory-files' virtual server setting of the nnmaildir backend?

It might also be possible to make the building of nov files incremental:
ie only create them as messages are actually viewed. It would slow down
first-time viewing, and potentially fill up the same amount of disk
space, if you view all messages, but at least you'd have an operational
maildir installation faster.




This bug report was last modified 5 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.