unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 0/5] more ->ALL usage
Date: Fri,  4 Dec 2020 22:03:44 +0000	[thread overview]
Message-ID: <20201204220349.4408-1-e@80x24.org> (raw)

Some tiny speedups to NNTP, and more WWW bits start using ->ALL
to avoid iterating through hundreds/thousands of inboxes.

Still experimenting with reindexing bits (and it's still slow :<)

Eric Wong (5):
  nntp: xref_by_tc: simplify slightly
  nntp: small speed up for multi-line responses
  search: remove mdocid export
  newswww: use ->ALL to avoid O(n) inbox scan
  extmsg: use ->ALL for "global" MID lookups

 lib/PublicInbox/Config.pm     |  4 ++--
 lib/PublicInbox/ExtMsg.pm     | 36 ++++++++++++++++++++++++++++++++---
 lib/PublicInbox/NNTP.pm       | 24 +++++++++++------------
 lib/PublicInbox/NNTPD.pm      |  9 +++++++--
 lib/PublicInbox/NewsWWW.pm    | 30 ++++++++++++++++++++++-------
 lib/PublicInbox/Search.pm     |  2 +-
 lib/PublicInbox/SearchView.pm | 11 +++++------
 7 files changed, 82 insertions(+), 34 deletions(-)

             reply	other threads:[~2020-12-04 22:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04 22:03 Eric Wong [this message]
2020-12-04 22:03 ` [PATCH 1/5] nntp: xref_by_tc: simplify slightly Eric Wong
2020-12-04 22:03 ` [PATCH 2/5] nntp: small speed up for multi-line responses Eric Wong
2020-12-04 22:03 ` [PATCH 3/5] search: remove mdocid export Eric Wong
2020-12-04 22:03 ` [PATCH 4/5] newswww: use ->ALL to avoid O(n) inbox scan Eric Wong
2020-12-04 22:03 ` [PATCH 5/5] extmsg: use ->ALL for "global" MID lookups Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201204220349.4408-1-e@80x24.org \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).