Re: [PATCH 05/16] alloc.h: move ALLOC_GROW() functions from cache.h

From
Junio C Hamano <hidden>
Date
2023-02-23 19:39:35
"Elijah Newren via GitGitGadget" [off-list ref] writes:
From: Elijah Newren <redacted>

This allows us to replace includes of cache.h with includes
of the much smaller alloc.h in many places.
Yes!  This is a very logical thing to do.  Allocation and
reallocation, especially in the modern world where "memory is tight,
let's unmap some packfiles" no longer happens, does not have to be
very "git" specific operation and should not have to depend on the
rest of "git".  Having to include "cache.h" is one trait I consider
anything is part of the implementation of "git" that has to be
intimate with its internal.
Thread (1 message) 1 message, 1 author, last reply 2023-02-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help