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

Zero alloc: rename Checks to Zero_alloc_info #2568

Merged

Conversation

gretay-js
Copy link
Contributor

  • Remove enabled field of Checks.t : the summaries are computed by default and the field is useless for builds that have at least one dependency built with summaries (which is the common case even for non-optimized builds).
  • Rename check.ml to zero_alloc_info.ml as a follow up for Zero alloc: refactor to remove "property" and improve naming #2416.

gretay-js added 2 commits May 14, 2024 11:54
The check is enabled by default.

Compilation units compiled with and without CMXs are compatible
and it is common to have a mix of both even in an unoptimized build,
(since removal of closure and flambda2),
which makes [enabled] field useless.
@gretay-js gretay-js added the zero alloc zero-alloc check label May 14, 2024
@gretay-js gretay-js requested a review from xclerc May 14, 2024 12:43
@gretay-js gretay-js marked this pull request as ready for review May 14, 2024 14:54
@gretay-js gretay-js merged commit ba4f19d into ocaml-flambda:main May 17, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zero alloc zero-alloc check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants