From: Carl Worth Date: Thu, 11 Nov 2010 07:26:31 +0000 (-0800) Subject: lib: Add new implementation of notmuch_filenames_t X-Git-Tag: 0.5~37 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=d87db8843266caf6b11c1f2f1874328830b23878;hp=d87db8843266caf6b11c1f2f1874328830b23878;ds=sidebyside lib: Add new implementation of notmuch_filenames_t The new implementation is simply a talloc-based list of strings. The former support (a list of database terms with a common prefix) is implemented by simply pre-iterating over the terms and populating the list. This should provide no performance disadvantage as callers of thigns like notmuch_directory_get_child_files are very likely to always iterate over all filenames anyway. This new implementation of notmuch_filenames_t is in preparation for adding API to query all of the filenames for a single message. ---