]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
nntp: integerize {article} to save memory
authorEric Wong <e@80x24.org>
Fri, 15 Nov 2024 02:59:30 +0000 (02:59 +0000)
committerEric Wong <e@80x24.org>
Fri, 15 Nov 2024 20:27:43 +0000 (20:27 +0000)
commit4f33ea8718ffdbb42be0efdf2de7b74f06bbd577
tree30da39de3d840c0768b490d0caefb4449e677fe8
parentd5065ba839aea7450ef3a7fbe10c4ddb59bb733e
nntp: integerize {article} to save memory

The NNTP article number is always an integer, so ensure it's
stored as one to avoid malloc overhead since NNTP clients may
linger for minutes at a time.
lib/PublicInbox/NNTP.pm