]> Sergey Matveev's repositories - public-inbox.git/commit
*index: discard sync->{todo} on iteration
authorEric Wong <e@80x24.org>
Fri, 13 Nov 2020 11:11:43 +0000 (11:11 +0000)
committerEric Wong <e@80x24.org>
Sun, 15 Nov 2020 06:12:38 +0000 (06:12 +0000)
commit834181c640236c91f367de04d5cc9834ec617f4e
treeab66b20e35c39914856034a64a3728697217d510
parent0d0b58966b2ae7e96848c2f05491a66c62531385
*index: discard sync->{todo} on iteration

There's no need to continuously append to {todo} when indexing
multiple inboxes.  They're not redundantly indexed (because the
IdxStack is discarded, making it a noop), but it's still a waste
of memory keeping the $unit hashrefs around.
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/V2Writable.pm