🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
2 messages
2 total messages Started by Derrick Stolee Mon, 16 Nov 2026 16:02
Re: [PATCH v2 0/2] builtin/repo: improve counting of objects
#3181
Author: Derrick Stolee
Date: Mon, 16 Nov 2026 16:02
20 lines
11989 bytes
On 11/16/2026 3:01 AM, Patrick Steinhardt wrote:
> I was recently using `git repo structure` in a very large repository and
> was eventually greeted with an OOM. So I had a bit of a look and found a
> way to improve the memory footprint and speed it up a bit.
> 
> The repository still doesn't produce results. As it turns out, walking
> 33 billion tree entries takes a while, and everything rev-list based
> that walks trees is kinda broken in there. Oh, well, a problem for
> another day.
> 
> Changes in v2:
>   - Reword a comment to point out that parsing the commit should in
>     theory not be required.
>   - Link to v1: https://patch.msgid.link/20261113-pks-repo-count-objects-speedup-
Thanks for these changes. I found your v2 patches in my inbox somehow
disconnected from this cover letter. But I'm happy with v2.

Thanks,
-Stolee
Re: [PATCH v2 0/2] builtin/repo: improve counting of objects
#3186
Author: Junio C Hamano
Date: Mon, 16 Nov 2026 17:32
22 lines
13628 bytes
Derrick Stolee <stolee@gmail.com> writes:

> On 11/16/2026 3:01 AM, Patrick Steinhardt wrote:
>> I was recently using `git repo structure` in a very large repository and
>> was eventually greeted with an OOM. So I had a bit of a look and found a
>> way to improve the memory footprint and speed it up a bit.
>> 
>> The repository still doesn't produce results. As it turns out, walking
>> 33 billion tree entries takes a while, and everything rev-list based
>> that walks trees is kinda broken in there. Oh, well, a problem for
>> another day.
>> 
>> Changes in v2:
>>   - Reword a comment to point out that parsing the commit should in
>>     theory not be required.
>>   - Link to v1: https://patch.msgid.link/20261113-pks-repo-count-objects-speedup-
> Thanks for these changes. I found your v2 patches in my inbox somehow
> disconnected from this cover letter. But I'm happy with v2.

Thanks for writing and reviewing.  Let me mark the topic as ready
for 'next'.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads