about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchIdx.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-09-09 00:01:29 +0000
committerEric Wong <e@80x24.org>2016-09-09 00:02:25 +0000
commit5505748033da3dd62de4d7ea828ea0509cd9dd96 (patch)
tree4c05408878510a5b1203c9c664d81db7b0d9a8d6 /lib/PublicInbox/SearchIdx.pm
parent4d9ad68e6565e488c9fa8e8e314178624827785c (diff)
downloadpublic-inbox-5505748033da3dd62de4d7ea828ea0509cd9dd96.tar.gz
It's not worth entering a complex codepath in Email::MIME to
save some (probably immeasurable amount of) memory, here.  We've
already stopped doing this in our WWW code a while back, too.
If we really cared enough about it, we'd prioritize work on a
streaming replacement for Email::MIME.
Diffstat (limited to 'lib/PublicInbox/SearchIdx.pm')
-rw-r--r--lib/PublicInbox/SearchIdx.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm
index 86be9ed4..0e2d225e 100644
--- a/lib/PublicInbox/SearchIdx.pm
+++ b/lib/PublicInbox/SearchIdx.pm
@@ -188,7 +188,6 @@ sub add_message {
 
                         my (@orig, @quot);
                         my $body = $part->body;
-                        $part->body_set('');
                         my @lines = split(/\n/, $body);
                         while (defined(my $l = shift @lines)) {
                                 if ($l =~ /^>/) {