Skip to content

Commit 52be53b

Browse files
committed
[Sema] Remove obsolete comments
These two comments were added in 2013 and 2012, respectively, most likely referring to a large patch of code below them. That code was subsequently deleted in 2014 (0e00f51). Remove the obsolete comments, since the performance improvements they describe can no longer be found in the same file.
1 parent 663b658 commit 52be53b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Sema/NameBinding.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,6 @@ void swift::performNameBinding(SourceFile &SF, unsigned StartElem) {
342342

343343
SF.addImports(ImportedModules);
344344

345-
// FIXME: This algorithm has quadratic memory usage. (In practice,
346-
// import statements after the first "chunk" should be rare, though.)
347-
// FIXME: Can we make this more efficient?
348-
349345
SF.ASTStage = SourceFile::NameBound;
350346
verify(SF);
351347
}

0 commit comments

Comments
 (0)