about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiP2q.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2024-06-10 11:34:27 +0000
committerEric Wong <e@80x24.org>2024-06-11 18:37:45 +0000
commit15470b46d7add99d2f4925ce5b0e45a818e00bc6 (patch)
treeebcb5eb73efac1560be0bef38d28bfb5ea05003d /lib/PublicInbox/LeiP2q.pm
parent05a03a70e1891e47b48b0af1036a2a97e6af08b2 (diff)
downloadpublic-inbox-master.tar.gz
xt/perf-threading.t reports a small 0.5-1.0% memory reduction in
non-ancient Perls with CoW strings for threading alone (w/o
rendering the View.pm stuff).

On informal tests using -httpd and giant Linux stable patch set
threads (700+ messages), this ends up being roughly 5MB saved in
/T/ rendering since we use the {mid} field again in the
$ctx->{mapping} table.  This becomes even more beneficial if
handling parallel HTTP requests for messages in the same message
thread, even across different endpoints.
Diffstat (limited to 'lib/PublicInbox/LeiP2q.pm')
0 files changed, 0 insertions, 0 deletions