lib: define specialized get_thread_id for use in thread subquery
authorDavid Bremner <david@tethera.net>
Sun, 28 Jan 2018 02:50:42 +0000 (22:50 -0400)
committerDavid Bremner <david@tethera.net>
Mon, 7 May 2018 11:42:53 +0000 (08:42 -0300)
commitf0131af6c59704e29d58eb74ed5e4bc298455272
tree83cfcee082a013335e9850fe1fad99c36be49c63
parent60fcec82d2a8041ba3ee9fc6413cd404659e38dc
lib: define specialized get_thread_id for use in thread subquery

The observation is that we are only using the messages to get there
thread_id, which is kindof a pessimal access pattern for the current
notmuch_message_get_thread_id
lib/message.cc
lib/notmuch-private.h
lib/thread-fp.cc