diff options
author | Eric Wong <e@80x24.org> | 2016-12-24 11:52:43 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-12-24 19:41:01 +0000 |
commit | f083ef6b36fcfe5bea35427636fc8aff4e729ef6 (patch) | |
tree | aa4df44cd369d463a645f9336d4844e1205696ac /lib/PublicInbox | |
parent | 2e05c4503e44d4d9bf126589b7c6ba71db7ce94e (diff) | |
download | public-inbox-f083ef6b36fcfe5bea35427636fc8aff4e729ef6.tar.gz |
This results in a half percent speedup or so doing $MESSAGE_ID/T/ HTML generation for a 368 message thread.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/View.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 97a8bcbc..39ca959c 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -476,7 +476,7 @@ sub add_text_body { } my @quot; my $l = PublicInbox::Linkify->new; - while (defined(my $cur = shift @lines)) { + foreach my $cur (@lines) { if ($cur !~ /^>/) { # show the previously buffered quote inline flush_quote(\$s, $l, \@quot) if @quot; |