[all-commits] [llvm/llvm-project] 02cb5b: [ADT] Teach set_intersect to erase with iterators ...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Fri Jul 19 02:48:08 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 02cb5bcab4f5232bbc5ecacb3d5d94fd487baa23
https://github.com/llvm/llvm-project/commit/02cb5bcab4f5232bbc5ecacb3d5d94fd487baa23
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-19 (Fri, 19 Jul 2024)
Changed paths:
M llvm/include/llvm/ADT/SetOperations.h
Log Message:
-----------
[ADT] Teach set_intersect to erase with iterators (#99569)
Without this patch, we erase an element in S1 by value even though we
have an interator pointing to it. This patch tries to use erase(iter)
to avoid redundant lookups.
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