We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a2e5be commit 1cee4f1Copy full SHA for 1cee4f1
clang/lib/Analysis/LifetimeSafety.cpp
@@ -546,6 +546,7 @@ struct LifetimeLattice {
546
// TODO(opt): This key-wise join is a performance bottleneck. A more
547
// efficient merge could be implemented using a Patricia Trie or HAMT
548
// instead of the current AVL-tree-based ImmutableMap.
549
+ // TODO(opt): Keep the state small by removing origins which become dead.
550
LifetimeLattice join(const LifetimeLattice &Other,
551
LifetimeFactory &Factory) const {
552
/// Merge the smaller map into the larger one ensuring we iterate over the
0 commit comments