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

Re: [PATCH] exclude: fix a bug in prefix comparison optimization

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 14, 2012, 18:25 UTC
Message-ID
<7vobk4ykpf.fsf@alter.siamese.dyndns.org>
In-Reply-To
<7v8vb9yn09.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
> Comparing the corresponding code in dir.c, there is no "compare the
> literal prefix part with strcmp() before doing the fnmatch()"
> optimization.  Intended?
>
> (warning: I haven't had my caffeine yet)
And it turns out that at the point I wrote the response, I still had
the attr-match-optim-more updates to be read in my mailbox ;-)
 
Previous: Junio C HamanoNext: Nguyen Thai Ngoc Duy
Message 3 of 5 in “exclude: fix a bug in prefix comparison optimization”
  1. exclude: fix a bug in prefix comparison optimizationNguyễn Thái Ngọc Duy, Oct 14, 2012
  2. Junio C HamanoOct 14, 2012
  3. Junio C HamanoOct 14, 2012
  4. Nguyen Thai Ngoc DuyOct 15, 2012
  5. Junio C HamanoOct 15, 2012

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.