(original) (raw)
Does it really make a difference what size the array is?
Debug or release build of clang?
--
On 27 November 2017 at 08:54, 王小小 via llvm-dev <llvm-dev@lists.llvm.org> wrote:
hi,allwhen my code like------------------------------------ #include#includeusing namespace std;static string s\[1000010\];int main(){return 0;}------------------------------------ And I used clang-5 to compile it, it almost cost 1g memory to compile it. how can i reduce the memory , if i don't want change the code?thank you
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
LLVM Developers mailing list
llvm-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev