]> Sergey Matveev's repositories - public-inbox.git/commit
reduce scope of mbox From_ line removal
authorEric Wong <e@yhbt.net>
Sat, 18 Apr 2020 03:38:53 +0000 (03:38 +0000)
committerEric Wong <e@yhbt.net>
Sun, 19 Apr 2020 08:51:29 +0000 (08:51 +0000)
commit0c586dc64b3b6642a894e125d09df446667a4079
tree38d6b349b64e6395e1910aaae2ef450b06d96a13
parent92de3139920992bfad32ef927153f27addfdc72c
reduce scope of mbox From_ line removal

It's unnecessary overhead for anything which does Email::MIME
parsing.  It was never done for v2 indexing, even though v1->v2
conversions did NOT remove those From_ lines.  There was never a
need to remote From_ lines the v1 SearchIdx paths, either.

Hitting a /$INBOX_URL/$MSGID/T/ endpoint with an 18 message
thread reveals a ~0.5% speed improvement.  This will become
more apparent when we have a faster MIME parser.
lib/PublicInbox/Inbox.pm
lib/PublicInbox/Mbox.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/SearchIdx.pm
t/psgi_v2.t