]> git.notmuchmail.org Git - notmuch/commit
notmuch-tag: don't sort messages before applying tag changes
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 16 Apr 2010 06:38:48 +0000 (08:38 +0200)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 23:06:09 +0000 (16:06 -0700)
commit40ff2ab62a4b1b4a5fad4cc8c102afb09135b9ca
tree5f0bf00ef7ad8e40250a62e6a73c80af74e8c9c6
parentaadb15a002dc01903d60ca40048d6d4ef3990863
notmuch-tag: don't sort messages before applying tag changes

It's not neccessary to sort the results before we apply tags. Xapian
contributor Olly Betts says that savings might be bigger with a cold
file cache and (as unsorted implies really sorted by document id) a better
cache locality when applying tags to messages.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
notmuch-tag.c