user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH 0/3] some efficiency improvements
@ 2020-04-05  7:53 Eric Wong
  2020-04-05  7:53 ` [PATCH 1/3] release large (non ref) scalars using `undef $sv' Eric Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Wong @ 2020-04-05  7:53 UTC (permalink / raw)
  To: meta

[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(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-05  7:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-05  7:53 [PATCH 0/3] some efficiency improvements Eric Wong
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

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).