From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 147581F885 for ; Sat, 11 Jan 2020 06:28:17 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] www: memory reductions for multipart Date: Sat, 11 Jan 2020 06:28:14 +0000 Message-Id: <20200111062816.9891-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Multipart messages in Email::MIME still cost us a lot of memory, but this makes things less bad (not "good", just "less bad" :P) Eric Wong (2): xt/mem-msgview.t: change to test one multipart message www: discard multipart parent on iteration lib/PublicInbox/MsgIter.pm | 5 +++-- lib/PublicInbox/SolverGit.pm | 5 ++--- lib/PublicInbox/View.pm | 6 +++--- lib/PublicInbox/WwwAtomStream.pm | 4 ++-- lib/PublicInbox/WwwAttach.pm | 2 +- xt/mem-msgview.t | 32 ++++++++++++++++++++++---------- 6 files changed, 33 insertions(+), 21 deletions(-)