From c386663dd9ffec6ebbe64e7bb5096ee3df7d273d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 24 Jul 2020 05:55:49 +0000 Subject: v2writable: introduce idx_stack This avoids pinning a potentially large chunk of memory from `git-log --reverse' into RAM (or triggering less predictable swap behavior). Instead it uses a contiguous temporary file with a fixed-size record for every blob we'll need to index. --- MANIFEST | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 9d90c8c2..f46a0776 100644 --- a/MANIFEST +++ b/MANIFEST @@ -138,6 +138,7 @@ lib/PublicInbox/IMAPD.pm lib/PublicInbox/IMAPTracker.pm lib/PublicInbox/IMAPdeflate.pm lib/PublicInbox/IMAPsearchqp.pm +lib/PublicInbox/IdxStack.pm lib/PublicInbox/Import.pm lib/PublicInbox/In2Tie.pm lib/PublicInbox/Inbox.pm @@ -277,6 +278,7 @@ t/httpd-https.t t/httpd-unix.t t/httpd.t t/hval.t +t/idx_stack.t t/imap.t t/imap_searchqp.t t/imap_tracker.t -- cgit v1.2.3-24-ge0c7