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

Re: [PATCH 1/2] midx: show progress during QSORT operation

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 11, 2025, 16:29 UTC
Message-ID
<xmqq8qqc30o0.fsf@gitster.g>
In-Reply-To
<CAE7as+YPKuBd+ztBerim6e1kZXZwUHdb_qjcMfZSBa4LkiyJow@mail.gmail.com>
Ayush Chandekar <ayu.chandekar@gmail.com> writes:
Show 7 quoted lines
>> Hmph.  If the implementation is correct (which I cannot tell), this
>> needs to explain why it is a bit better than saying nothing.
> While going through the code, I noticed the TODO comment: "Measure
> QSORT() progress", and I thought it might be interesting to explore.
> For big codebases, being stuck at zero would make it feel like there's
> no progress happening and that is why putting a progress might be
> better.

That much I already know---otherwise we would not have that comment there ;-)

What I meant was that the proposed log message did not give readers any hint how the implementation given in the patch is correct, the assumption it makes on the behaviour of sort(3), etc.

Previous: Ayush Chandekar
Message 6 of 6 in “midx: implement progress reporting for QSORT operation”
  1. Ayush ChandekarFeb 10, 2025
  2. 2/2 t5319: add test for MIDX QSORT progress reportingAyush Chandekar, Feb 10, 2025
  3. 1/2 midx: show progress during QSORT operationAyush Chandekar, Feb 10, 2025
  4. Junio C HamanoFeb 10, 2025
  5. Ayush ChandekarFeb 11, 2025
  6. Junio C HamanoFeb 11, 2025

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.