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

[0.7] Investigate effect of adding type erasure in router on build times #2902

Closed
gbj opened this issue Sep 1, 2024 · 0 comments
Closed
Milestone

Comments

@gbj
Copy link
Collaborator

gbj commented Sep 1, 2024

0.7 uses static typing everywhere. It seems like the increase in compile time is pretty consistent across the board, and while most projects have 20-30% smaller binaries I've had some reports of larger binaries.

There have also been some reports of recursion depth overflows in the compiler due to the depth of nested types.

I wonder whether the compile-time issue can be improved significantly by erasing types in the router and in some other specific control-flow locations, without too significantly adding to binary size.

@gbj gbj added this to the 0.7 milestone Sep 1, 2024
@gbj gbj closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 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

No branches or pull requests

1 participant