benlangmuir wrote: How much savings are coming from the "release if empty" part? And is that really happening for the cold/top-level members, or only for unresolved?
If we could get rid of LazyMembers and just have some get/getOrCreate functions around a unique_ptr for each of the three groups of members that would make it a lot simpler IMO. I don't like the `empty()` methods we're introducing, which seem like a maintenance issue. If you get it wrong it might be invisible as long as the new cold member is correlated with using some other cold member. https://github.com/llvm/llvm-project/pull/243156 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
