benlangmuir wrote:

> The additional 80B this patch outlines save 368MB worth of allocations over 
> the lifetime of my dependency scan workload, which I think is worth the 
> complexity

This is hard to evaluate on its own, since cumulative allocations is not really 
something we care about directly, only the run time impact from those 
allocations, or the change in average/peak allocations maybe.

> Moreover, the outline storage is used in the two follow-up patches in the 
> stack that do this for cold members and members only top-level modules need. 
> There, most of the members don't have large inline storage we could shrink, 
> there's simply lots of them.

The later changes seem much more impactful than the marginal 80 byte 
difference, fair enough.

https://github.com/llvm/llvm-project/pull/243156
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to