]> Sergey Matveev's repositories - public-inbox.git/commit
nntp: speed up group listings via ->ALL->misc
authorEric Wong <e@80x24.org>
Wed, 3 Aug 2022 20:03:56 +0000 (20:03 +0000)
committerEric Wong <e@80x24.org>
Thu, 4 Aug 2022 07:00:59 +0000 (07:00 +0000)
commitf1e6dbd43146aec82aeb49cd249a8a86813506e1
tree4824d4d316e33a8dbdd3f2e2b69255e046507bc4
parent213e03e1f9624faa4a3a9813f1eac5035c1eb62a
nntp: speed up group listings via ->ALL->misc

By taking advantage of the new ART_MIN/ART_MAX value in MiscIdx,
we can avoid the overhead of opening per-inbox msgmap DB files.
The result gives us a ~40 speedup with 50K newgroups.
lib/PublicInbox/NNTP.pm