]> git.notmuchmail.org Git - notmuch/commit
new: Add all initial tags at once
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 21 Jan 2011 09:59:36 +0000 (10:59 +0100)
committerCarl Worth <cworth@cworth.org>
Wed, 26 Jan 2011 12:05:28 +0000 (22:05 +1000)
commit7c450905e41d9bc81aca82f4593a5b42a4bb8e31
treed24be6058ba0f2e793949ae7cbe241ba543367b8
parentde2acbd49c8fdb0c5bc28513283a9e12eefdaca3
new: Add all initial tags at once

If there are several tags applied to the new messages, it is beneficial
to store them to the database at one, because it saves some time,
especially when the notmuch new is run for the first time.

This patch decreased the time for initial import from 1h 35m to 1h 14m.
notmuch-new.c