]> Sergey Matveev's repositories - public-inbox.git/commit
over: cull unneeded fields for get_thread
authorEric Wong <e@80x24.org>
Tue, 8 Jan 2019 11:13:33 +0000 (11:13 +0000)
committerEric Wong <e@80x24.org>
Tue, 8 Jan 2019 19:28:02 +0000 (19:28 +0000)
commit7766a71df4cb715a240fd97a03dc0c31ab153c21
tree22d6f9ad174b28c055e6881fca8948bb79beda96
parentd7ceeaadbab7034eccb88b0c53b9538c1c92b25a
over: cull unneeded fields for get_thread

On a certain ugly /$INBOX/$MESSAGE_ID/T/ endpoint with 1000
messages in the thread, this cuts memory usage from 2.5M to 1.9M
(which still isn't great, but it's a start).
lib/PublicInbox/Over.pm
lib/PublicInbox/SearchMsg.pm