[libcxx-commits] [libcxx] [libc++] Replace __resize_default_init with resize_and_overwrite (PR #157121)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 19 10:59:11 PDT 2025
ldionne wrote:
My preference here would be not to re-introduce this upstream, since it's dead code as far as upstream is concerned. I actually think that Folly's approach is quite neat for a hack. It uses low-level functions that are unlikely to change in tricky ways to achieve its goal, and in addition it would turn a "merge conflict" of the kind we had here into a compilation error instead of a potentially silent performance regression. All in all, I believe that this is probably a superior solution to just relying on the internal name.
WDYT?
https://github.com/llvm/llvm-project/pull/157121
More information about the libcxx-commits
mailing list