diff --git a/notmuch/src/lib.rs b/notmuch/src/lib.rs index 39042f4..2eb367d 100644 --- a/notmuch/src/lib.rs +++ b/notmuch/src/lib.rs @@ -518,6 +518,7 @@ impl Notmuch { } pub fn count(&self, query: &str) -> Result { + // TODO: compare speed of notmuch count for * w/ and w/o --output=threads let res = self.run_notmuch(["count", "--output=threads", query])?; // Strip '\n' from res. let s = std::str::from_utf8(&res[..res.len() - 1])?;