about summary refs log tree commit homepage
path: root/MANIFEST
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-01-05 09:51:16 +0000
committerEric Wong <e@80x24.org>2020-01-05 23:32:29 +0000
commit033f628b52ebacf4a7bf8795084ba5ec498004bf (patch)
treedf9a472915b9f1232b60921e0226d77842fc1055 /MANIFEST
parente3e8cab265fe79e4984d59ee180f2dbc8d4ef6f1 (diff)
downloadpublic-inbox-033f628b52ebacf4a7bf8795084ba5ec498004bf.tar.gz
In rare cases where Message-IDs get reused, we do not want to
hold onto the large Email::MIME objects in memory after showing
the first message.  So discard each message as soon as we're
done using it so we can save memory for the next message.

The new and expensive xt/mem-msgview.t test shows a nearly 14MB
reduction for two ~7MB messages.  run_script() also gets
upgraded to make it easier to pass large inputs via IO GLOBs.
Diffstat (limited to 'MANIFEST')
-rw-r--r--MANIFEST1
1 files changed, 1 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index 845fee7b..914015ad 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -296,6 +296,7 @@ t/www_static.t
 t/xcpdb-reshard.t
 xt/git-http-backend.t
 xt/git_async_cmp.t
+xt/mem-msgview.t
 xt/msgtime_cmp.t
 xt/nntpd-validate.t
 xt/perf-msgview.t