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

Finding static method extremely slow with large legacy codebase #2853

Closed
dantleech opened this issue Feb 21, 2025 · 3 comments
Closed

Finding static method extremely slow with large legacy codebase #2853

dantleech opened this issue Feb 21, 2025 · 3 comments

Comments

@dantleech
Copy link
Collaborator

Finding referenes to static methods should be extremely fast

@dantleech dantleech changed the title Finding static method extremely slow Finding static method extremely slow with large legacy codebase Feb 21, 2025
@mamazu
Copy link
Contributor

mamazu commented Feb 21, 2025

The speed of finding any method is currently tied to the name of the method. If it's a common method name it needs to search through all methods with this name. Parse the parent class and check if it's the correct one.

@dantleech
Copy link
Collaborator Author

Static methods can be very fast because the indexer has them all as opposed to instance methods where you need to detemine the type of object the candidate method is attached to.

@dantleech
Copy link
Collaborator Author

Was "fixed" by #2851

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

No branches or pull requests

2 participants