]> git.notmuchmail.org Git - notmuch/commitdiff
tag-util: optimization of tag application
authorDavid Bremner <bremner@debian.org>
Tue, 13 Nov 2012 04:23:49 +0000 (00:23 -0400)
committerDavid Bremner <bremner@debian.org>
Sun, 9 Dec 2012 17:33:34 +0000 (13:33 -0400)
The idea is not to bother with restore operations if they don't change
the set of tags. This is actually a relatively common case.

In order to avoid fancy datastructures, this method is quadratic in
the number of tags; at least on my mail database this doesn't seem to
be a big problem.


No differences found