diff options
author | Eric Wong <e@80x24.org> | 2020-11-23 07:06:01 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-11-24 05:03:55 +0000 |
commit | be688d5b00bb77c6601b3ab680403ecd71ac4871 (patch) | |
tree | cc77f8b9a7dd6f5a357ba47e0b913302547b7be6 /lib/PublicInbox/InboxWritable.pm | |
parent | 616a08457175b442d4caeb67f9ccd9d3e69f50f5 (diff) | |
download | public-inbox-be688d5b00bb77c6601b3ab680403ecd71ac4871.tar.gz |
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')
-rw-r--r-- | lib/PublicInbox/InboxWritable.pm | 2 |
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 { $latest; } -sub eidx_key { $_[0]->{newsgroup} // $_[0]->{inboxdir} } - 1; |