commit | a1d6a6c4b8c2b94d2b47b7b0b1fedbe77183f3ad | [log] [tgz] |
---|---|---|
author | higher-performance <higher.performance.github@gmail.com> | Thu Apr 24 20:30:28 2025 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 24 11:35:48 2025 -0700 |
tree | 5bc3bcf38d297d10298ec0c537b12e1002e8e368 | |
parent | 172895cac93dba49665516101e8da305e3af6dc8 [diff] |
Optimize std::__tree::__assign_multi to insert the provided range at the end of the tree every time (#131030) This improves performance for the copy-assignment operators of associative containers such as `std::map`. This optimization already exists in other places in the codebase, and seems to have been missed here. GitOrigin-RevId: 5f9164978b218fa65c53a59e91ea01831735f7a4