[PATCH 1/4] lib: eagerly parse queries

2017-02-18 Thread David Bremner
Rather than waiting for a call to count/search, parse the query string when the notmuch_query_t is created. This is a small reduction in duplicated code, and a potential efficiency improvement if many count/search operations are called on the same query (although the latter sounds a bit unusual).

[PATCH 1/4] lib: eagerly parse queries

2016-11-21 Thread David Bremner
Rather than waiting for a call to count/search, parse the query string when the notmuch_query_t is created. This is a small reduction in duplicated code, and a potential efficiency improvement if many count/search operations are called on the same query (although the latter sounds a bit unusual).