Skip to content

Conversation

AlexanderPortland
Copy link
Contributor

This PR is a pair of small performance changes. It used to be 4 (and thus would've been a real combo), but two involved caching so I've moved them under #4313 instead. These changes include:

  1. passing information commonly used by our GotocHooks' hook_applies method as arguments, so that each hook doesn't have to recompute it on it's own
  2. a small one-line change to compute a fn instance's name once instead of twice.

These are both very small, but together with the other two changes now moved to #4313, made a ~6% decrease in the compile time of the standard library.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@AlexanderPortland AlexanderPortland requested a review from a team as a code owner August 22, 2025 20:19
@github-actions github-actions bot added Z-EndToEndBenchCI Tag a PR to run benchmark CI Z-CompilerBenchCI Tag a PR to run benchmark CI labels Aug 22, 2025
@AlexanderPortland
Copy link
Contributor Author

Hi @thanhnguyen-aws, thanks for the approval! Do you mind merging this too? I got removed from the github model-checking org and no longer can.

@feliperodri feliperodri added this pull request to the merge queue Sep 8, 2025
auto-merge was automatically disabled September 8, 2025 20:44

Pull Request is not mergeable

Merged via the queue into model-checking:main with commit 6cb0ef0 Sep 8, 2025
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-CompilerBenchCI Tag a PR to run benchmark CI Z-EndToEndBenchCI Tag a PR to run benchmark CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants