[all-commits] [llvm/llvm-project] 5f9164: Optimize std::__tree::__assign_multi to insert the...
higher-performance via All-commits
all-commits at lists.llvm.org
Thu Apr 24 11:30:50 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f9164978b218fa65c53a59e91ea01831735f7a4
https://github.com/llvm/llvm-project/commit/5f9164978b218fa65c53a59e91ea01831735f7a4
Author: higher-performance <higher.performance.github at gmail.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M libcxx/include/__tree
Log Message:
-----------
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list