[libcxx-commits] [libcxx] [libc++] Speed up vector<bool> copy/move-ctors [1/3] (PR #120132)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 20 08:59:24 PST 2025
================
@@ -674,25 +676,30 @@ vector<bool, _Allocator>::vector(initializer_list<value_type> __il, const alloca
#endif // _LIBCPP_CXX03_LANG
+// This function copies each storage word as a whole, which is substantially more efficient than copying
----------------
ldionne wrote:
Can you please ensure that we have appropriate test coverage for these constructors of `vector<bool>`?
https://github.com/llvm/llvm-project/pull/120132
More information about the libcxx-commits
mailing list