diff options
author | Eric Wong <e@80x24.org> | 2019-11-16 02:34:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-11-16 11:05:02 +0000 |
commit | 4f0eed9d221a3e16da35145a17501798422f359e (patch) | |
tree | d9405573fa5f084e7cf80f8c5147fa1aedf3f03c /lib/PublicInbox/Mbox.pm | |
parent | cbf748a8a038fd51a7ace57570c0267f8162999b (diff) | |
download | public-inbox-4f0eed9d221a3e16da35145a17501798422f359e.tar.gz |
IO::Compress::Gzip is a wrapper around Compress::Raw::Zlib, anyways, and being able to easily detach buffers to return them via ->getline is nice. This results in a 1-2% performance improvement when fetching giant mboxes.
Diffstat (limited to 'lib/PublicInbox/Mbox.pm')
-rw-r--r-- | lib/PublicInbox/Mbox.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm index 42ed8c5d..42cedd15 100644 --- a/lib/PublicInbox/Mbox.pm +++ b/lib/PublicInbox/Mbox.pm @@ -231,7 +231,7 @@ sub need_gzip { my $title = 'gzipped mbox not available'; $fh->write(<<EOF); <html><head><title>$title</title><body><pre>$title -The administrator needs to install the IO::Compress::Gzip Perl module +The administrator needs to install the Compress::Raw::Zlib Perl module to support gzipped mboxes. <a href="../">Return to index</a></pre></body></html> EOF |