From: Austin Clements Date: Thu, 9 Dec 2010 03:19:55 +0000 (-0500) Subject: Add the file name list to the unified message metadata pass. X-Git-Tag: debian/0.6_254~169^2~2 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=f271071330fed2947abfa7e9956a85a978924548;hp=f271071330fed2947abfa7e9956a85a978924548 Add the file name list to the unified message metadata pass. Even if the caller never uses the file names, there is little cost to simply fetching the file name terms. However, retrieving the full paths requires additional database work, so the expansion from terms to full paths is performed lazily. This also simplifies clearing the filename cache, since that's now handled by the generic metadata cache code. This further reduces my inbox search from 3.102 seconds before the unified metadata pass to 2.206 seconds (1.4X faster). ---