pytorch/torch/csrc/distributed
Lakshay Garg a4110fedcf Use insert_or_assign instead of erase+emplace (#164868)
insert_or_assign does effectively the same thing as
erase+emplace but more efficiently since the search
does not need to be repeated

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164868
Approved by: https://github.com/eqy
2025-10-08 19:13:49 +00:00
..
autograd [1/N] Fix clang-tidy readability checks (#164561) 2025-10-04 09:40:38 +00:00
c10d Use insert_or_assign instead of erase+emplace (#164868) 2025-10-08 19:13:49 +00:00
rpc Fix readibility checks in TIDY and apply them (#164475) 2025-10-02 20:34:49 +00:00