]> Sergey Matveev's repositories - public-inbox.git/commit
msg_iter: pass $idx as a scalar, not array
authorEric Wong <e@yhbt.net>
Thu, 7 May 2020 21:05:45 +0000 (21:05 +0000)
committerEric Wong <e@yhbt.net>
Sat, 9 May 2020 08:59:10 +0000 (08:59 +0000)
commit453dee4881a9c764b09d33f3a827879f2cd3669d
treee1c5d2fcb1b5e4a7571e9eaf59d6ce6660f3e200
parent8d1b87f498ea47bb752ea24900372df192d322fb
msg_iter: pass $idx as a scalar, not array

This doesn't make any difference for most multipart
messages (or any single part messages).  However,
this starts having space savings when parts start
nesting.

It also slightly simplifies callers.
lib/PublicInbox/MsgIter.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/View.pm
lib/PublicInbox/WwwAttach.pm
t/mime.t
t/msg_iter.t