aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/string-list.c
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@mit.edu>2010-12-09 01:54:34 -0500
committerGravatar Austin Clements <amdragon@mit.edu>2011-03-21 02:45:18 -0400
commitd19c5de17a606e08860a5de951c780038dec2f89 (patch)
treee6645c7cfe0ebf76021d60a40ec692f37c4295ee /lib/string-list.c
parentf271071330fed2947abfa7e9956a85a978924548 (diff)
Add the tag list to the unified message metadata pass.
Now each caller of notmuch_message_get_tags only gets a new iterator, instead of a whole new list. In principle this could cause problems with iterating while modifying tags, but through the magic of talloc references, we keep the old tag list alive even after the cache in the message object is invalidated. This reduces my index search from the 3.102 seconds before the unified metadata pass to 1.811 seconds (1.7X faster). Combined with the thread search optimization in b3caef1f0659dac8183441357c8fee500a940889, that makes this query 2.5X faster than when I started.
Diffstat (limited to 'lib/string-list.c')
0 files changed, 0 insertions, 0 deletions