diff options
author | Patrick Palka <ppalka@redhat.com> | 2025-05-29 10:12:23 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2025-06-01 10:41:20 -0400 |
commit | 771fcb9fe9b3fce8336a797c03c399a63e11eb21 (patch) | |
tree | 1a68a8164a6a9fae5c5c23abe3a11f43c8099851 /gcc/dwarf2ctf.cc | |
parent | 48d6f5dbb0e412266ebb77def04ed378ca856029 (diff) | |
download | gcc-771fcb9fe9b3fce8336a797c03c399a63e11eb21.zip gcc-771fcb9fe9b3fce8336a797c03c399a63e11eb21.tar.gz gcc-771fcb9fe9b3fce8336a797c03c399a63e11eb21.tar.bz2 |
libstdc++: Compare keys and values separately in flat_map::operator==
Instead of effectively doing a zipped comparison of the keys and values,
compare them separately to leverage the underlying containers' optimized
equality implementations.
libstdc++-v3/ChangeLog:
* include/std/flat_map (_Flat_map_impl::operator==): Compare
keys and values separately.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
(cherry picked from commit ad96f0344adfc847874b34b43f30371979ae9963)
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions