]> Sergey Matveev's repositories - public-inbox.git/commit
feed: avoid anonymous subs
authorEric Wong <e@80x24.org>
Wed, 25 Dec 2019 07:50:51 +0000 (07:50 +0000)
committerEric Wong <e@80x24.org>
Fri, 27 Dec 2019 20:00:37 +0000 (20:00 +0000)
commit8b192073ae9e940ec066811aaa5618a1601f0565
tree67dfec6b074c3ea649657939835e8cad7cddf72c
parent07c51ae017dae0ea221ba756e9c6ec46f6a587de
feed: avoid anonymous subs

WwwStream already passes the WWW $ctx to the user-supplied
callback, and it's a trivial change for WwwAtomStream to do
the same.  Callers in Feed.pm can now take advantage of that
to save a few kilobytes of memory on every response.
lib/PublicInbox/Feed.pm
lib/PublicInbox/WwwAtomStream.pm