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

Optimize bon's generated code typechecking performance and improve error messages #84

Merged
merged 9 commits into from
Sep 1, 2024

Conversation

Veetaha
Copy link
Contributor

@Veetaha Veetaha commented Aug 31, 2024

This change yields reduces the compilation time in frankenstein by 32% (ayrat555/frankenstein#196), although it compromises the readability of the builder signature and rustdoc output. Unfortunately, I haven't found a better way to perseve consice signatures. I posted a question about this on Rustlang Zulip, but no luck so far. I suppose trait/associated-types just suck at performance and we need to live with that.

bon-2 0 2

New error messages

image


@Veetaha Veetaha force-pushed the feat/optimize-compile-perf branch from 0282892 to 3526065 Compare August 31, 2024 18:03
@Veetaha Veetaha marked this pull request as ready for review August 31, 2024 22:34
@Veetaha Veetaha changed the title Optimize bon's generated code typechecking performance Optimize bon's generated code typechecking performance and improve error messages Sep 1, 2024
@Veetaha Veetaha merged commit 0d16c26 into master Sep 1, 2024
22 of 23 checks passed
@Veetaha Veetaha deleted the feat/optimize-compile-perf branch September 1, 2024 00:47
@github-actions github-actions bot mentioned this pull request Sep 1, 2024
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