From: Eric Wong <e@yhbt.net>
To: meta@public-inbox.org
Subject: [PATCH 0/3] some efficiency improvements
Date: Sun, 5 Apr 2020 07:53:46 +0000 [thread overview]
Message-ID: <20200405075349.2173-1-e@yhbt.net> (raw)
[1/3] I seem to forget every decade or so that `$sv = undef'
and `undef $sv' have different behaviors. Sometimes I want
the former, but here I want the latter.
I'm not entirely happy with [2/3], but the worst case is
theoretically better than before. I really wish Perl
and PSGI could support things like writev+sendmmsg
well.
[3/3] will make some difference with many inboxes.
Eric Wong (3):
release large (non ref) scalars using `undef $sv'
mbox: halve ->getline "context switches"
git: reduce stat buffer storage overhead
lib/PublicInbox/Git.pm | 13 ++++++-------
lib/PublicInbox/Mbox.pm | 9 +++------
lib/PublicInbox/SearchIdx.pm | 33 ++++++++++++++++-----------------
lib/PublicInbox/View.pm | 4 ++--
lib/PublicInbox/ViewDiff.pm | 2 +-
5 files changed, 28 insertions(+), 33 deletions(-)
next reply other threads:[~2020-04-05 7:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-05 7:53 Eric Wong [this message]
2020-04-05 7:53 ` [PATCH 1/3] release large (non ref) scalars using `undef $sv' Eric Wong
2020-04-05 7:53 ` [PATCH 2/3] mbox: halve ->getline "context switches" Eric Wong
2020-04-05 7:53 ` [PATCH 3/3] git: reduce stat buffer storage overhead 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: http://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=20200405075349.2173-1-e@yhbt.net \
--to=e@yhbt.net \
--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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
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).