]> Sergey Matveev's repositories - public-inbox.git/commit
thread: pass array refs instead of entire arrays
authorEric Wong <e@80x24.org>
Wed, 5 Oct 2016 23:47:18 +0000 (23:47 +0000)
committerEric Wong <e@80x24.org>
Wed, 5 Oct 2016 23:52:27 +0000 (23:52 +0000)
commitc5b3d2549596b773d52e5feb947f461630dfe301
tree1e0e16f857a6736d9d9224c7ac121c59f6e062f3
parent172416d1cd465da4242cc744a3f309d307f1311d
thread: pass array refs instead of entire arrays

Copying large arrays is expensive, so avoid it.
This reduces /$INBOX/ time by around 1%.
lib/PublicInbox/SearchThread.pm
lib/PublicInbox/SearchView.pm
lib/PublicInbox/View.pm