]> Sergey Matveev's repositories - public-inbox.git/commit
www: switch to zadd for the majority of buffering
authorEric Wong <e@80x24.org>
Sat, 10 Sep 2022 08:17:18 +0000 (08:17 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Sep 2022 19:50:47 +0000 (19:50 +0000)
commitf32456e0d0f4a7756fcc17c83ccf5b682cb512d9
treefee389d9d8a3830717834bba46860b22ed449756
parent3b3ee0a9d98e338c94d8ec90191bbe76faba0d87
www: switch to zadd for the majority of buffering

This allows us to focus string concatenations in one place to
allow Perl internal scratchpad optimizations to reuse memory.

Calling Compress::Raw::Zlib::deflate repeatedly proves too
expensive in terms of CPU cycles.
lib/PublicInbox/GzipFilter.pm
lib/PublicInbox/Mbox.pm
lib/PublicInbox/SearchView.pm
lib/PublicInbox/View.pm
lib/PublicInbox/ViewDiff.pm
lib/PublicInbox/WwwAtomStream.pm
lib/PublicInbox/WwwStream.pm