[PATCH] D89544: [CodingStandards] Clarify the recommendation to use SmallVector
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 05:04:03 PDT 2020
lebedev.ri added a comment.
What reasoning was used in the patch that added that wording?
IIRC `llvm::SmallVector` is better than `std::vector` also because
former doubles the allocation size instead of just increasing it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89544/new/
https://reviews.llvm.org/D89544
More information about the llvm-commits
mailing list