]> Sergey Matveev's repositories - public-inbox.git/commit
msgmap: do not cache num_highwater
authorEric Wong <e@80x24.org>
Sat, 16 Oct 2021 19:11:33 +0000 (19:11 +0000)
committerEric Wong <e@80x24.org>
Sun, 17 Oct 2021 00:48:17 +0000 (00:48 +0000)
commit796da029ba295903d0dfb389c1576ce3985ea1af
treee1b856e743734c27ef0b11a59d4433e339d2e030
parent4fbec2e6737e9b65f0287ad1ebd14e20dfc10a93
msgmap: do not cache num_highwater

Caching the value doesn't seem necessary from a performance
perspective, and it adds a caveat for read-only users which
may lead to bugs in future code.
lib/PublicInbox/IMAP.pm
lib/PublicInbox/Msgmap.pm