]> Sergey Matveev's repositories - public-inbox.git/commit
mboxgz: use Compress::Raw::Zlib instead of IO::Compress::Gzip
authorEric Wong <e@80x24.org>
Sat, 16 Nov 2019 02:34:39 +0000 (02:34 +0000)
committerEric Wong <e@80x24.org>
Sat, 16 Nov 2019 11:05:02 +0000 (11:05 +0000)
commit4f0eed9d221a3e16da35145a17501798422f359e
treed9405573fa5f084e7cf80f8c5147fa1aedf3f03c
parentcbf748a8a038fd51a7ace57570c0267f8162999b
mboxgz: use Compress::Raw::Zlib instead of IO::Compress::Gzip

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.
lib/PublicInbox/Mbox.pm
lib/PublicInbox/MboxGz.pm