[PATCH 3/3] new: don't read unchanged directories from disk

2012-10-15 Thread Ethan Glasser-Camp
Sascha Silbe writes: > Previously, notmuch new listed all directories on disk, even if they > were unchanged from the state recorded in the database. This could take > a huge amount of time for large numbers of mails as it would list each > individual mail. > > By iterating over the

Re: [PATCH 3/3] new: don't read unchanged directories from disk

2012-10-15 Thread Ethan Glasser-Camp
Sascha Silbe sascha-...@silbe.org writes: Previously, notmuch new listed all directories on disk, even if they were unchanged from the state recorded in the database. This could take a huge amount of time for large numbers of mails as it would list each individual mail. By iterating over

[PATCH 3/3] new: don't read unchanged directories from disk

2012-06-24 Thread Sascha Silbe
Previously, notmuch new listed all directories on disk, even if they were unchanged from the state recorded in the database. This could take a huge amount of time for large numbers of mails as it would list each individual mail. By iterating over the subdirectories recorded in the database we can

[PATCH 3/3] new: don't read unchanged directories from disk

2012-06-24 Thread Sascha Silbe
Previously, notmuch new listed all directories on disk, even if they were unchanged from the state recorded in the database. This could take a huge amount of time for large numbers of mails as it would list each individual mail. By iterating over the subdirectories recorded in the database we can