s-barannikov wrote:

Why don't just turn SLocEntry into a POD and use 
SmallVector::resize_for_overwrite? That way the vector will not be initialized 
and the OS will only allocate physical memory on the first access to a page.


https://github.com/llvm/llvm-project/pull/66430
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to