git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Avoid accessing a slow working copy during diffcore operations.

From
Shawn Pearce <spearce@spearce.org>
Date
Dec 15, 2006, 15:05 UTC
Message-ID
<20061215150500.GC17860@spearce.org>
In-Reply-To
<eltr9v$b4q$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> wrote:
Show 8 quoted lines
> Shawn O. Pearce wrote:
> 
> > +# Define NO_FAST_WORKING_DIRECTORY if accessing objects in pack files is
> > +# generally faster on your platform than accessing the working directory.
> > +#
> 
> Hmmm... I wonder if generated by autoconf ./configure script can autodetect
> that. Probably not.

I think it would be difficult to perform an automatic performance test prior to building Git to determine how we should build Git on the current platform. Besides, Cygwin users tend to not use the ./configure script as it takes longer than just using the Makefile.

AFAIK the only "OS" which suffers from this problem is Windows. Anything else that Git has been ported too has reasonably fast syscalls for file IO, which means this should be unset.

Previous: Jakub NarebskiNext: Junio C Hamano
Message 7 of 10 in “Avoid accessing a slow working copy during diffcore operations.”
  1. Avoid accessing a slow working copy during diffcore operations.Shawn O. Pearce, Dec 14, 2006
  2. Alex RiesenDec 14, 2006
  3. Johannes SchindelinDec 14, 2006
  4. Alex RiesenDec 14, 2006
  5. Johannes SchindelinDec 14, 2006
  6. Jakub NarebskiDec 15, 2006
  7. Shawn PearceDec 15, 2006
  8. Junio C HamanoDec 16, 2006
  9. Johannes SchindelinDec 16, 2006
  10. Junio C HamanoDec 16, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.