index: Don't bother indexing quoted portions of messages (and signatures).
authorCarl Worth <cworth@cworth.org>
Wed, 28 Oct 2009 22:41:42 +0000 (15:41 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 28 Oct 2009 22:41:42 +0000 (15:41 -0700)
commit56218ddbb4a72fdec534773f2bd4e85aec914ae9
tree2942e5d8707cb626cb1fef385f231f297279a6c7
parentcfa228a3d4b300df3551e811028508d3de5cd81c
index: Don't bother indexing quoted portions of messages (and signatures).

Our old notmuch-index-message.cc code had this, but I originally
left it out when adding indexing back in. I was concerned primarily
with mistakenly detecting signature markers and omitting important
text, (for example, I often do long lines of "----" as section
separators).

But now I  see that there's a performance benefit to skippint the
quotations, (about 120 files/sec. instead of 95 files/sec.). I mitigated
the bogus signature checking by recognizing nothing other than the
all-time classic "-- ".
index.cc