Skip to content

Commit 789361c

Browse files
garandrialnicola
authored andcommitted
Fix typo
1 parent a0d2a05 commit 789361c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/_posts/2019-11-13-find-usages.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ These restrictions can originate from the language semantics: it doesn't make se
157157
They also can originate from the user: it's often convenient to exclude tests from search results, for example.
158158

159159
The second trick is about implementing warnings for unused declarations effectively.
160-
This is a case where a top-down approach is generally better, as an IDE needs to process every declaration, and that would be slow with top-down approach.
160+
This is a case where a top-down approach is generally better, as an IDE needs to process every declaration, and that would be slow with bottom-up approach.
161161
However, with a trigram index the IDE can apply an interesting optimization: only check those declarations which have few textual matches.
162162
This will miss an used declaration with a popular name, like `new`, but will work ok for less-popular names, with a relatively good performance.
163163

0 commit comments

Comments
 (0)