notmuch: add TODO

This commit is contained in:
Bill Thiede 2024-08-25 19:37:37 -07:00
parent cf5a6fadfd
commit d98d429b5c

View File

@ -518,6 +518,7 @@ impl Notmuch {
}
pub fn count(&self, query: &str) -> Result<usize, NotmuchError> {
// 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])?;