]> Sergey Matveev's repositories - public-inbox.git/commit - lib/PublicInbox/View.pm
view: reduce subroutine calls for submsg_hdr
authorEric Wong <e@80x24.org>
Sat, 10 Sep 2022 08:17:06 +0000 (08:17 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Sep 2022 19:50:35 +0000 (19:50 +0000)
commit86afb4a830a0c55c911105e63821ffc844523d18
treed03719d0ce366729840b8c4ad522cde5ff73264c
parent109711976cb9c5e0b9a465b0b6ffcb509434f688
view: reduce subroutine calls for submsg_hdr

Favor fewer, yet more expensive operations than many smaller
ones.  While we're still directly manipulating ctx->{obuf} after
this, this change makes it easier for us to avoid doing so in
the future.
lib/PublicInbox/View.pm