[PATCH] D35145: Use emplace_back to replace size() and resize().

Noel Grandin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 9 06:15:05 PDT 2017


grandinj added a comment.

I'm curious if you know why emplace_back is so much faster than resize(size+1) ?


https://reviews.llvm.org/D35145





More information about the llvm-commits mailing list