]> Sergey Matveev's repositories - public-inbox.git/commit
view: speed up /$INBOX/ landing page by 0.5-1.0%
authorEric Wong <e@80x24.org>
Mon, 29 Aug 2022 09:26:37 +0000 (09:26 +0000)
committerEric Wong <e@80x24.org>
Mon, 29 Aug 2022 19:05:48 +0000 (19:05 +0000)
commita66a2eddda8ffbb7679f4ef80dba7c7d377cda84
treef6ed2339330000defdb2f5076d460a6b08e0118e
parent207031dbcffd74c8832a7e0e6952af574bc37a2e
view: speed up /$INBOX/ landing page by 0.5-1.0%

Array lookups and extra arithmetic in Perl is slower than
bumping the internal array offset inside the interpreter.
Fwiw, using: my ($level, $subj) = splice(@extra, 0, 2)
did not result in a performance improvement.
lib/PublicInbox/View.pm