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

[PATCH v3 0/3] Recursion-free unpack_entry and packed_object_info

From
Thomas Rast <trast@student.ethz.ch>
Date
Mar 27, 2013, 20:03 UTC
Message-ID
<cover.1364414442.git.trast@inf.ethz.ch>
In-Reply-To
<87620faky3.fsf@linux-k42r.v.cablecom.net>
From: Thomas Rast <trast@inf.ethz.ch>
Almost the same as last time.  Changed: the rename suggested by Junio
Show 7 quoted lines
> The only little concern I may have is this cmp_* function tells us
> "I found it!" by returning true, which is counter-intuitive to the
> readers of the caller (not the callee).
> 
> I think it makes sense to compare delta-base-cache entries only for
> equality, so eq-delta-base-cache-entry might be a better name for
> it, perhaps?

and a small reword to patch 3's commit message to make it clearer at which stage we unpack the deltas.

Thomas Rast (3):
  sha1_file: remove recursion in packed_object_info
  Refactor parts of in_delta_base_cache/cache_or_unpack_entry
  sha1_file: remove recursion in unpack_entry
 sha1_file.c | 411 +++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 266 insertions(+), 145 deletions(-)
-- 
1.8.2.344.g1440b22
Next: Thomas Rast
Message 1 of 5 in “Recursion-free unpack_entry and packed_object_info”
  1. 0/3 Recursion-free unpack_entry and packed_object_infoThomas Rast, Mar 27, 2013
  2. 1/3 sha1_file: remove recursion in packed_object_infoThomas Rast, Mar 27, 2013
  3. 2/3 Refactor parts of in_delta_base_cache/cache_or_unpack_entryThomas Rast, Mar 27, 2013
  4. 3/3 sha1_file: remove recursion in unpack_entryThomas Rast, Mar 27, 2013
  5. Junio C HamanoMar 27, 2013

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.