Skip to content

ADFA-7204: Speed up Kotlin completion in large files - #2281

Draft
itsaky-adfa wants to merge 6 commits into
perf/ADFA-6855-incremental-reparsefrom
perf/ADFA-7204-completion-latency
Draft

itsaky-adfa wants to merge 6 commits into
perf/ADFA-6855-incremental-reparsefrom
perf/ADFA-7204-completion-latency

Conversation

@itsaky-adfa

@itsaky-adfa itsaky-adfa commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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.

@atlassian

atlassian Bot commented Nov 18, 2026

Copy link
Copy Markdown

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.

@itsaky-adfa
itsaky-adfa force-pushed the perf/ADFA-7204-completion-latency branch from 1652f26 to c827237 Compare November 19, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant