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

Re: [PATCH 0/5] Speed up string search routines

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 14, 2010, 20:16 UTC
Message-ID
<7v3a13fu9m.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4c8ef71002140847i19b64b21ocfa71658a49d97b5@mail.gmail.com>
Fredrik Kuivinen <frekui@gmail.com> writes:
> There is code in obstack.c to check if we are using gnu libc or not.
> If gnu libc is used, then ELIDE_CODE is defined and no code from
> obstack.c is compiled.

Thanks; that explains why there is no need to change Makefile to customize where obstack is taken from.

But I am not a big fan of keeping borrowed code mixed together in the same directory with our own code. For something as large as xdiff, giving it its own directory made sense, but for only two files, I thought compat/ would be a good place, hence my suggesiton. kwset would probably want to go together with them somewhere.

Previous: Fredrik Kuivinen
Message 4 of 4 in “Speed up string search routines”
  1. 0/5 Speed up string search routinesFredrik Kuivinen, Feb 13, 2010
  2. Junio C HamanoFeb 13, 2010
  3. Fredrik KuivinenFeb 14, 2010
  4. Junio C HamanoFeb 14, 2010

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.