]> Sergey Matveev's repositories - public-inbox.git/commit
view: thread_html: pass named sub to WwwStream
authorEric Wong <e@80x24.org>
Wed, 25 Dec 2019 07:50:58 +0000 (07:50 +0000)
committerEric Wong <e@80x24.org>
Fri, 27 Dec 2019 20:00:37 +0000 (20:00 +0000)
commit2d2b53538f1121e98ddc0652e2749bb90ea97769
treea592a93537620e838cb9ae170456feb0f20878b2
parent15b14846a2fceff10d409bd1fd6d9a73a841df97
view: thread_html: pass named sub to WwwStream

We can pass everything we need into the WWW $ctx to avoid
allocating kilobytes of memory for an anonymous sub for every
$MESSAGE_ID/t/ request.
lib/PublicInbox/View.pm