]> Sergey Matveev's repositories - public-inbox.git/commit
mbox: split header and body processing
authorEric Wong <e@80x24.org>
Thu, 27 Jun 2019 09:23:39 +0000 (09:23 +0000)
committerEric Wong <e@80x24.org>
Thu, 27 Jun 2019 17:08:51 +0000 (17:08 +0000)
commit71ea9961786fa14ea0a67200847bac5a76abf751
tree3422c6c61235aa8b0722c1a8712f5dce668905b5
parent018295ad147ecbe9759d46bc8d74a776d4ad382f
mbox: split header and body processing

When dealing with ~30MB messages, we can save another ~30MB by
splitting the header and body processing and not appending the
body string back to the header.

We'll rely on buffering in gzip or kernel (via MSG_MORE)
to prevent silly packet sizes.
lib/PublicInbox/Mbox.pm