Skip to content

Commit 8ab512d

Browse files
committed
Update release note entry
1 parent 70aca38 commit 8ab512d

File tree

1 file changed

+7
-3
lines changed
  • libcxx/docs/ReleaseNotes

1 file changed

+7
-3
lines changed

libcxx/docs/ReleaseNotes/20.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,13 @@ Improvements and New Features
6969
- The ``_LIBCPP_ABI_BOUNDED_ITERATORS_IN_STD_ARRAY`` ABI configuration was added, which allows storing valid bounds
7070
in ``std::array::iterator`` and detecting OOB accesses when the appropriate hardening mode is enabled.
7171

72-
- The input iterator overload of `assign(_InputIterator, _InputIterator)` in `std::vector<_Tp, _Allocator>` has been
73-
optimized, resulting in a performance improvement of up to 2x for trivial element types (e.g., `std::vector<int>`),
74-
and up to 3.4x for non-trivial element types (e.g., `std::vector<std::vector<int>>`).
72+
- The ``input_iterator``-pair overload of ``void assign(InputIt, InputIt)`` has been optimized for ``std::vector``,
73+
resulting in a performance improvement of up to 2x for trivial element types (e.g., ``std::vector<int>``), and up
74+
to 3.4x for non-trivial element types (e.g., ``std::vector<std::vector<int>>``).
75+
76+
- The ``input_iterator``-pair overload of ``iterator insert(const_iterator, InputIt, InputIt)`` has been optimized
77+
for ``std::vector``, resulting in a performance improvement of up to 10x for ``std::vector<int>``, and up to 2.3x
78+
for ``std::vector<std::vector<int>>``.
7579

7680
- On Windows, ``<system_error>``'s ``std::system_category`` is now distinct from ``std::generic_category``. The behavior
7781
on other operating systems is unchanged.

0 commit comments

Comments
 (0)