Re: [PATCH 3/4] lib: define specialized get_thread_id for use in thread subquery

2018-05-06 Thread Jani Nikula
On Sat, 05 May 2018, David Bremner wrote: > 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 LGTM. > --- > lib/message.cc| 17 + > lib/notmuch-privat

[PATCH 3/4] lib: define specialized get_thread_id for use in thread subquery

2018-05-05 Thread David Bremner
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| 17 + lib/notmuch-private.h | 4 lib/thread-fp.cc | 2 +- 3 files changed,