From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 71BEC1F4C1 for ; Tue, 26 Nov 2024 21:29:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1732656563; bh=s2fah+i1QmmotjqMdZcd/Gbw9o5ppSG/GyWHO6HXcEU=; h=From:To:Subject:Date:From; b=A8F6V5dX6Dgxs81o82yYVf5F6wnaUwYbriRe64jVuk0CJNCN4DdSdXVsvJGV8bLNh cV9UemrqRyeqdIruKzYt6btNxMsJQuOzpEXA0qL2cPoQy0cLV1VdeZ5XEl/+v+qlV2 sVG34Txe6s4+vrVssG5/NL+Ec6vpjJHExgiPz14o= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] lei: short-lived sub reductions Date: Tue, 26 Nov 2024 21:29:21 +0000 Message-ID: <20241126212923.840812-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Short-lived subs are somewhat wasteful and using regexps to suppress error messages generated by our own code is nasty. Eric Wong (2): import: allow $noisy toggle, simplify `lei rediff' lei: avoid repeatedly recreating anonymous subs lib/PublicInbox/Import.pm | 5 +++-- lib/PublicInbox/LEI.pm | 4 +++- lib/PublicInbox/LeiRediff.pm | 7 ++----- 3 files changed, 8 insertions(+), 8 deletions(-)