Skip to content

Go: improve CallNode documentation #14882

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

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Conversation

owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Nov 22, 2023

These are the uncontroversial parts of #13861. That PR had performance problems, and it may be closed without merging, but it would be a shame to lose these improvements.

When a function is assigned to a variable and called through that
variable then we can't always tell it was a method.
@owen-mc owen-mc requested a review from a team as a code owner November 22, 2023 16:35
@github-actions github-actions bot added the Go label Nov 22, 2023
@owen-mc owen-mc added the no-change-note-required This PR does not need a change note label Nov 22, 2023
smowton
smowton previously approved these changes Nov 22, 2023
@owen-mc
Copy link
Contributor Author

owen-mc commented Nov 23, 2023

The performance evaluation was bad for very large codebases. I will make this a draft until I can look into why.

@owen-mc owen-mc marked this pull request as draft November 23, 2023 13:49
@owen-mc owen-mc marked this pull request as ready for review November 23, 2023 14:47
@owen-mc
Copy link
Contributor Author

owen-mc commented Nov 23, 2023

I've dropped the code changes from this PR. I will look into why they cause performance problems separately. So this PR is now just docs changes.

@owen-mc owen-mc changed the title Go: avoid getTarget() and improve CallNode documentation Go: improve CallNode documentation Nov 23, 2023
@owen-mc owen-mc merged commit 6f9a704 into github:main Nov 24, 2023
@owen-mc owen-mc deleted the go/minor-fixes branch November 24, 2023 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants