]> Sergey Matveev's repositories - public-inbox.git/commitdiff
mbox: use Email::Simple->new to do in-place modifications
authorEric Wong <e@80x24.org>
Thu, 27 Jun 2019 08:40:19 +0000 (08:40 +0000)
committerEric Wong <e@80x24.org>
Thu, 27 Jun 2019 17:08:51 +0000 (17:08 +0000)
Email::Simple->new will split the head from the body in-place,
and we can avoid using Email::Simple::body.  This saves us from
holding an extra copy of the message in memory, and saves us
around ~30MB when operating on ~30MB messages.


No differences found