]> Sergey Matveev's repositories - public-inbox.git/commit
config: simplify lookup* methods
authorEric Wong <e@80x24.org>
Tue, 15 Oct 2019 01:11:58 +0000 (01:11 +0000)
committerEric Wong <e@80x24.org>
Tue, 15 Oct 2019 20:26:41 +0000 (20:26 +0000)
commitb41c19abcf0b0ac8a5f55678bfb0058ad50b3179
tree00fa3ed93433102fd125fc01a753f26ceeb9fad8
parent1317fb7b4ace03f6d9dfb1a42ee5f9371a1bf913
config: simplify lookup* methods

This ensures we always process inboxes in section order and
reduces the amount of code we have to maintain for each lookup.

Avoiding the cost of inboxes object creation is not worth the
code overhead; and we can implement a config cache via Storable
easily for large configs and -mda users.
lib/PublicInbox/Config.pm