Skip to content

Compiler: simplify branch #2057

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 5 commits into from
Jun 25, 2025
Merged

Compiler: simplify branch #2057

merged 5 commits into from
Jun 25, 2025

Conversation

hhugo
Copy link
Member

@hhugo hhugo commented Jun 23, 2025

No description provided.

@hhugo
Copy link
Member Author

hhugo commented Jun 24, 2025

The effect of this PR on fiat-crypto is big. ~22% on codesize and compilation time.
It improves code size a little bit (-0.5%) on ocamlc and Partial Render Table but make compilation longer by 1-2%

@vouillon
Copy link
Member

Maybe you should drop events when merging branches. This could be really confusing otherwise if it looks like we are reaching a wrong case.

@hhugo
Copy link
Member Author

hhugo commented Jun 25, 2025

Maybe you should drop events when merging branches. This could be really confusing otherwise if it looks like we are reaching a wrong case.

I've done that and moved the optimization to Specialize.switches that runs only once.

@hhugo hhugo merged commit 3c21130 into master Jun 25, 2025
27 checks passed
@hhugo hhugo deleted the simpl-branch branch June 25, 2025 07:47
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