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-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,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 B00AA1F86C for ; Fri, 27 Nov 2020 09:52:54 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 00/12] some NNTP-related fixes + speedups Date: Fri, 27 Nov 2020 09:52:42 +0000 Message-Id: <20201127095254.21624-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: A few minor bugfixes and some major speedups for targeting thousands/millions of inboxes based on stuff learned during IMAP server development. [PATCH 6/12] "miscsearch: implement ->newsgroup_matches" may not be necessary, after all, but maybe it could also be used for WWW. Still a lot more to do... Eric Wong (12): nntp: use Inbox->uidvalidity instead of ->mm->created_at nntpd: share {groups} hash with {-by_newsgroup} in Config mm: min/max: return 0 instead of undef nntp: use grep operation for wildmat matching nntp: NEWNEWS: speed up filtering miscsearch: implement ->newsgroup_matches nntp: LIST ACTIVE.TIMES use angle brackets around address nntp: move LIST iterators to long_response t/extsearch: show a more realistic case nntp: some minor golfing nntp: xref: simplify sub signature nntp: xref: use ->ALL extindex if available lib/PublicInbox/Config.pm | 4 +- lib/PublicInbox/ExtSearch.pm | 56 ++++++++++ lib/PublicInbox/IMAPD.pm | 2 +- lib/PublicInbox/MiscSearch.pm | 40 +++++++ lib/PublicInbox/Msgmap.pm | 7 +- lib/PublicInbox/NNTP.pm | 200 +++++++++++++++++++--------------- lib/PublicInbox/NNTPD.pm | 25 +++-- lib/PublicInbox/OverIdx.pm | 5 + lib/PublicInbox/V2Writable.pm | 4 +- t/extsearch.t | 54 ++++++++- t/msgmap.t | 2 +- t/nntp.t | 7 +- 12 files changed, 291 insertions(+), 115 deletions(-)