[PATCH] D132512: [SmallVector] Reallocate if assigned memory is right after the current vector, created with capacity 0

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 18:06:42 PDT 2022


dblaikie added a comment.

If possible, it'd be good to have some performance data on this since it adds an extra condition on every vector resize.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132512/new/

https://reviews.llvm.org/D132512



More information about the llvm-commits mailing list