]> git.cworth.org Git - notmuch-wiki/blobdiff - performance.mdwn
Merge branch 'master' of git://notmuchmail.org/git/notmuch-wiki
[notmuch-wiki] / performance.mdwn
index 04a36d8e0d78e168d6e1a83b9c811bdafa9b345c..e838c8a64f17693cad4d7661081f07c37aa71412 100644 (file)
@@ -1,5 +1,7 @@
 # Optimize notmuch's performance
 
+[[!toc levels=2]]
+
 ## Xapian 1.2.x database format: chert vs. flint
 
 Xapian 1.2 (in contrast to 1.0.x) uses a new database format called
@@ -99,3 +101,17 @@ Remove old and renamed compacted, if compacting went well:
 
 * [Pieter Praet](http://notmuchmail.org/pipermail/notmuch/2011/004175.html)
 
+
+## Tagging: use filters!
+
+Instead of just:
+
+    $ notmuch tag +foo
+
+use:
+
+    $ notmuch tag +foo -- not tag:foo
+
+See the ongoing discussion:
+
+* [Optimization for notmuch tag by implicit filters](http://notmuchmail.org/pipermail/notmuch/2011/004197.html)