Repository navigation
ADFA-7204: Speed up Kotlin completion in large files - #2281
Draft
itsaky-adfa wants to merge 6 commits into
Draft
itsaky-adfa wants to merge 6 commits into
itsaky-adfa wants to merge 6 commits into
Conversation
|
To enable Code Reviewer, link your GitHub account to your Atlassian account. This is a one-time task that takes less than a minute. Once your account is linked, resubmit the pull request to trigger a code review. |
…per candidate symbol
…ad of enumerating every imported callable
…name, read from Kotlin classes only
itsaky-adfa
force-pushed
the
perf/ADFA-7204-completion-latency
branch
from
November 19, 2026 12:55
1652f26 to
c827237
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADFA-7204
Stack 2/3, on #2280. First commit is a Spotless reformat.
Speeds up Kotlin completion in large files: module lookups are memoized, reachable modules are computed once per completion, and extension candidates are looked up by indexed name instead of enumerating every imported callable.
Tested: unit tests,
spotlessCheck, typed completions on a Pad 2.