Re: [PATCH 00/10] name-rev: improve memory usage
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Feb 5, 2020, 03:28 UTC
- Message-ID
- <06f8c44c-66aa-d9d5-7653-436424f5c864@gmail.com>
- In-Reply-To
- <084909f8-fefa-1fe0-b2ce-74eff47c4972@web.de>
On 2/4/2020 4:12 PM, René Scharfe wrote:
> This series seeks to get reduce the size of memory allocations, the > number of reallocations and the amount of leaks in git name-rev, to > improve its performance.
I am generally very happy with the performance benefits and think this series is very well organized.
> name-rev: don't leak path copy in name_ref() > name-rev: generate name strings only if they are better > name-rev: release unused name strings
I don't have the right context to understand these patches without applying them and investigating the methods around the changes. They intrigue me, though, so I plan to pick this up again tomorrow.
The rest of the changes look good.
Thanks, -Stolee