Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve caching for failed class lookups #2912

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gharrma
Copy link
Contributor

@gharrma gharrma commented Dec 20, 2019

This slightly mitigates https://youtrack.jetbrains.com/issue/KT-35614, although it does
not fix the issue entirely.

Note: this speeds up findClass(), but not findClasses().

This slightly mitigates KT-35614, although it does
not fix the issue entirely.

Note: this speeds up findClass(), but not findClasses().
@udalov udalov assigned dzharkov and unassigned udalov Jan 7, 2020
@dzharkov
Copy link
Contributor

Sorry for the late reply, but I'm not sure about this change because this cache should not be used frequently when the requested class doesn't exist (as @udalov has mentioned in the comment).

I would appreciate it if you'd share some insights or pieces of evidence that it may help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants