On Wed, Jun 5, 2013 at 8:06 PM, Eli Friedman <[email protected]> wrote:

>
> (1) has a substantial impact on memory usage (something like 1% on
> Cocoa.h), so I'd like to avoid it if possible.
>

They must be a large fraction of our total memory if an alignment change
like that can cause such a large overall impact on memory usage. What
fraction of these TypeLoc's do we actually use?

Aren't TypeLoc's primarily used for diagnostics? (and I presume debug
info?) Why are we creating so many in the first place during a normal run
of the compiler? Could we generate them lazily?

-- Sean Silva
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to