[libcxx-commits] [libcxx] Optimize std::__tree::__assign_multi to insert the provided range at the end of the tree every time (PR #131030)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 10 04:25:29 PDT 2025


philnik777 wrote:

@higher-performance My main concern is that this adds a hint for ever range we're assigning from, so the hint could be completely bogus when you assign from something other than a container of the same type. Given the relatively small performance improvement and the extremely large numbers required to achieve that I'm not sure this is a net win in the end.

https://github.com/llvm/llvm-project/pull/131030


More information about the libcxx-commits mailing list