Hello,
I have made a small change in the initial size of the StackTy SmallVector of class DSAStackTy.
I reduced the initial size of this SmallVector from 64 elements to 4 elements, in order to improve the memory consumption during the creation of the Sema, whose constructor calls the Sema::InitDataSharingAttributesStack() function, which in turn creates a DSAStackTy.
After profiling Clang (I just gave it a simple source file to compile) before and after this change, the difference in memory consumption is up to almost 400 KB.
Would that change be acceptable?
Thank you,
Sakellari Elisavet