]> Sergey Matveev's repositories - public-inbox.git/commit
lei tag: parallelize Maildir access
authorEric Wong <e@80x24.org>
Wed, 9 Jun 2021 07:47:49 +0000 (07:47 +0000)
committerEric Wong <e@80x24.org>
Wed, 9 Jun 2021 10:03:44 +0000 (10:03 +0000)
commitac2cbae7af54527299dbfe927716ebc3c7ec89de
tree78632b5f1a346742ac5d0d136de2f7e2d9a2c6a2
parent9c3009655a0d365154f1119803465afc11713e79
lei tag: parallelize Maildir access

Since Maildir isn't guaranteed to have any sort of order, we
can parallelize inputs, here.  On a 4-core system, this reduced
one of my tag invocations from 5.5 to 1.4s.
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiPmdir.pm
lib/PublicInbox/LeiTag.pm