From: Stefan Sperling Subject: Re: let gotadmin pack map files into memory To: gameoftrees@openbsd.org Date: Fri, 31 Dec 2021 20:10:22 +0100 On Fri, Dec 31, 2021 at 05:50:43PM +0100, Stefan Sperling wrote: > Computing deltas between files involves a lot of seeking around in > order to search for matching blocks. With this patch we bypass the > stdio layer for files which are small enough to be mapped into memory, > while keeping the stdio case as a fallback very large files. Please ignore this patch for now. It causes bad object errors from 'git fsck' after 'gotadmin pack -a'.