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

Speedup compilepkg args handling #4074

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

dzbarsky
Copy link
Contributor

What type of PR is this?
Starlark cleanup

What does this PR do? Why is it needed?
A lot of the args between compilepkg and nogo are shared, so we can reuse the Args object. Cleaned up a few other things that showed up in profiles while I was here.

Which issues(s) does this PR fix?

Fixes #

Other notes for review

@fmeum
Copy link
Member

fmeum commented Aug 29, 2024

This is a nice improvement, including to retained memory. I considered doing this right in the nogo change, but wanted to keep it small.

We should wait for the nogo release before we merge this.

@dzbarsky
Copy link
Contributor Author

This is a nice improvement, including to retained memory. I considered doing this right in the nogo change, but wanted to keep it small.

We should wait for the nogo release before we merge this.

Yep, makes sense.

@dzbarsky
Copy link
Contributor Author

@fmeum shall we revisit this after bazel8 ships?

@fmeum
Copy link
Member

fmeum commented Oct 12, 2024

Yes, I'll also cut the long due rules_go release!

@dzbarsky
Copy link
Contributor Author

dzbarsky commented Oct 13, 2024

Yes, I'll also cut the long due rules_go release!

OK, I've rebased this one. Maybe we can try to land #4030 after the release is cut?

@fmeum fmeum self-requested a review October 28, 2024 13:03
go/private/context.bzl Outdated Show resolved Hide resolved
@fmeum fmeum enabled auto-merge (squash) October 28, 2024 14:06
@fmeum fmeum merged commit e4484f0 into bazel-contrib:master Oct 28, 2024
1 check passed
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.

2 participants