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

No extensible type for types. #3927

Merged
merged 3 commits into from
May 18, 2024
Merged

No extensible type for types. #3927

merged 3 commits into from
May 18, 2024

Conversation

toots
Copy link
Member

@toots toots commented May 18, 2024

This is a sub-set of the larger changes required to enable term/type caching.

This PR removes extensible types for type description.

This has an impact on typing performances as extensible type variants are not as optimized as regular variants. On my laptop, typechecking the whole standard library goes from 3.33s to 2.91s, which is about 12% faster.

@toots toots enabled auto-merge May 18, 2024 19:00
@toots toots added this pull request to the merge queue May 18, 2024
@toots toots removed this pull request from the merge queue due to a manual request May 18, 2024
@toots toots merged commit 73d82a6 into main May 18, 2024
26 checks passed
@toots toots deleted the no-extensible-type-for-types branch May 18, 2024 20:36
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.

1 participant