diff options
author | Eric Wong <e@80x24.org> | 2020-12-04 22:03:46 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-12-05 21:41:52 +0000 |
commit | 726d6e71aee5d974615fa8097a482382a5064e5d (patch) | |
tree | 5c88abd24ea4b67f0eb246bbb23b8d99ea029373 /lib/PublicInbox/SearchView.pm | |
parent | 0a80d0c2e723213e3981d2d6ef0de7cee60ee50c (diff) | |
download | public-inbox-726d6e71aee5d974615fa8097a482382a5064e5d.tar.gz |
Using a non-zero-length separator for `join' requires extra work inside Perl. We can shove the cost of appending "\r\n" into the `map' loop, instead. This speeds up the `join' operation. The "deferred" log entry for a "LISTGROUP org.kernel.vger.linux-kernel" command (with nearly 3.8 million messages) goes from ~3.96s to 3.86s on my workstation.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
0 files changed, 0 insertions, 0 deletions