[libcxx-commits] [libcxx] [libc++] Memoise `size()` in `vector::__assign_with_size` (PR #180288)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 12 13:47:17 PST 2026
ldionne wrote:
The intent here is mainly to reduce the diff in the size-based vector patch, with this refactoring that is quite obviously good. I totally understand your point that something else may yield more benefits and we should look into it, but I don't want to block this simple diff-extraction on something exploratory. I'll create a github issue so we can have a look into `__builtin_assume_separate_storage` separately.
https://github.com/llvm/llvm-project/pull/180288
More information about the libcxx-commits
mailing list