]> Sergey Matveev's repositories - public-inbox.git/commit
view: /$INBOX/$MSGID/t/: avoid extra hash lookup in eml case
authorEric Wong <e@yhbt.net>
Sun, 5 Jul 2020 23:27:51 +0000 (23:27 +0000)
committerEric Wong <e@yhbt.net>
Mon, 6 Jul 2020 20:01:15 +0000 (20:01 +0000)
commit208450d2347ab92de7dcb9733fb51543df32635a
tree48ebf4b89d1c62d698460aacd32006d89c77087b
parentbf8ea90e0db55666e558893bf00b703ddd211d45
view: /$INBOX/$MSGID/t/: avoid extra hash lookup in eml case

We can build and buffer the HTML <head> section once the first
non-ghost message in a thread is loaded, so there's no need to
perform an extra check on $ctx->{nr} once the $eml is ready.
lib/PublicInbox/View.pm