]> git.notmuchmail.org Git - notmuch/commitdiff
lib: Add new implementation of notmuch_filenames_t
authorCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 07:26:31 +0000 (23:26 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 11:40:19 +0000 (03:40 -0800)
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.


No differences found