about summary refs log tree commit homepage
path: root/t
diff options
authorEric Wong <e@80x24.org>2019-02-01 03:06:47 +0000
committerEric Wong <e@80x24.org>2019-02-01 04:24:54 +0000
commit7475739ec4e426004619f95f6e48fa07d940a5c0 (patch)
treec0248cd8d85ac9de0415091b3382e2958b4e1973 /t
parent1e03323d76eb6c029ab6749fe783f25d5d109e1f (diff)
Perl "split" can capture and group in the regexp itself,
so rely on that to shorten our code.

Comparing the /T/ HTML output of a thread from hell (on LKML with
1356 messages) reveals no difference in the rendered result.
Only the HTML source differs in newline placement before/after
the closing </span>

This allows a minor speedup on my X32 Thinkpad @ 1.6GHz with
the aforementioned LKML thread from hell:

before: 3.67s
 after: 3.55s
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions