diff options
author | Eric Wong <e@80x24.org> | 2019-02-01 03:06:47 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-02-01 04:24:54 +0000 |
commit | 7475739ec4e426004619f95f6e48fa07d940a5c0 (patch) | |
tree | c0248cd8d85ac9de0415091b3382e2958b4e1973 /t/linkify.t | |
parent | 1e03323d76eb6c029ab6749fe783f25d5d109e1f (diff) | |
download | public-inbox-7475739ec4e426004619f95f6e48fa07d940a5c0.tar.gz |
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/linkify.t')
0 files changed, 0 insertions, 0 deletions