]> git.notmuchmail.org Git - notmuch/commit
notmuch: Use Query.count_messages() rather len(Query.search_messages())
authorSebastian Spaeth <sebastian@sspaeth.de>
Fri, 19 Mar 2010 07:47:14 +0000 (08:47 +0100)
committerSebastian Spaeth <sebastian@sspaeth.de>
Fri, 19 Mar 2010 07:47:14 +0000 (08:47 +0100)
commit540536b98d5bbae84b62dbe03992708d0cff9c43
treeb718ace17bdaade49d6fbf2d9b501b8b7f68bec5
parentca388481428cd7dfa5e75c474567e6880c2ce60f
notmuch: Use Query.count_messages() rather len(Query.search_messages())

In my tests, this is about 10 times faster and returned the same results,
although both operations are really fast.
notmuch