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 47AB61F4CC for ; Mon, 30 Dec 2024 22:28:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1735597726; bh=MTV89qX08+smc+ywO4GbnF88CRxhdJa1rdI6hohWJmg=; h=From:To:Subject:Date:From; b=m+picwngn95MtxrS+89UbS6baCsyVJwkXkzQsl6L2aZ1lo5i+m6XRglJJLpaTFDIw 7G2+rG+Q/yyjzaZUsGfMqD0ZzO7h6LAbyZJSzOzmC9ahPBVHk9PjYfcomQuvqzs9Ul MyobeBssXvq1eggiixCbGw6ryahmmR7j9SDBrKus= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] watch-related fixes for filter users Date: Mon, 30 Dec 2024 22:28:44 +0000 Message-ID: <20241230222846.2251518-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 1/2 is a bugfix, and 2/2 is a small optimization for common setups (probably immeasurable). Eric Wong (2): watch|mda|purge: Filter::*->scrub is destructive watch: import_eml: avoid Eml dup for non-scrub case lib/PublicInbox/Filter/Vger.pm | 15 +++++----- lib/PublicInbox/InboxWritable.pm | 2 -- lib/PublicInbox/Watch.pm | 50 ++++++++++++-------------------- script/public-inbox-mda | 19 +++++------- script/public-inbox-purge | 12 ++++---- 5 files changed, 39 insertions(+), 59 deletions(-)