new: Don't scan unchanged directories with no sub-directories
authorAustin Clements <amdragon@MIT.EDU>
Thu, 24 Oct 2013 21:38:59 +0000 (17:38 -0400)
committerDavid Bremner <bremner@debian.org>
Mon, 28 Oct 2013 19:47:10 +0000 (16:47 -0300)
commit516efb7807d672b692921b0b42c30bc49dafb733
treee4156628e64e71659a0f842f3a4e8c97d8fa8b1e
parent9f9a63c863e2eac1adebef16a103d7bc0ccdc291
new: Don't scan unchanged directories with no sub-directories

This can substantially reduce the cost of notmuch new in some
situations, such as when the file system cache is cold or when the
Maildir is on NFS.
notmuch-new.c