about summary refs log tree commit homepage
path: root/lib/PublicInbox/InboxWritable.pm
diff options
authorEric Wong <e@80x24.org>2020-11-23 07:06:01 +0000
committerEric Wong <e@80x24.org>2020-11-24 05:03:55 +0000
commitbe688d5b00bb77c6601b3ab680403ecd71ac4871 (patch)
treecc77f8b9a7dd6f5a357ba47e0b913302547b7be6 /lib/PublicInbox/InboxWritable.pm
parent616a08457175b442d4caeb67f9ccd9d3e69f50f5 (diff)
For a mirror of lore.kernel.org with >140 inboxes, this speeds
up manifest.js.gz generation from ~1s to 40ms on my HW.  This
is still unacceptable when dealing with thousands of inboxes,
but gets us closer to where we need to be.
Diffstat (limited to 'lib/PublicInbox/InboxWritable.pm')
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/InboxWritable.pm b/lib/PublicInbox/InboxWritable.pm
index d3c255c7..e97c7e2d 100644
--- a/lib/PublicInbox/InboxWritable.pm
+++ b/lib/PublicInbox/InboxWritable.pm
@@ -319,6 +319,4 @@ sub git_dir_latest {
-sub eidx_key { $_[0]->{newsgroup} // $_[0]->{inboxdir} }