]> git.notmuchmail.org Git - notmuch/commitdiff
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)
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 "-- ".


No differences found