]> Sergey Matveev's repositories - public-inbox.git/commit
viewvcs: switch to `print $zfh'
authorEric Wong <e@80x24.org>
Sat, 10 Sep 2022 08:17:29 +0000 (08:17 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Sep 2022 19:50:57 +0000 (19:50 +0000)
commit12900fecdc4c7f577eb8266a2334d74f72fd2518
treede6a93d405cf70abd54c96be731d1fc5a9c853ba
parent4981c5c7940ca0a7b669fd4c5b8338bdd6cee710
viewvcs: switch to `print $zfh'

Again, ->zmore has proven expensive due to the overhead of
calling ->deflate on small strings, so print directly to the
file handle and let the PerlIO::scalar layer take care of
buffering.  One of the ->zmore calls was a no-op, even, so
drop that entirely.
lib/PublicInbox/ViewVCS.pm