zaks.anna added a comment.

Does FoldingSet already have reserve? (I do not see it.)

My understanding is that you propose to allocate all the nodes that would be 
required to store the maximum number of nodes we allow, lowering the malloc 
traffic. The current implementation just doubles the size. Is this correct?

Maybe we should just set a higher initial size, instead of going all the way to 
the max?


http://reviews.llvm.org/D20933



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to