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

fix: Improve selection and variables performance #35

Merged
merged 12 commits into from
Jan 22, 2024

Conversation

kitten
Copy link
Member

@kitten kitten commented Jan 22, 2024

Summary

This improves the selection and variables’s type inference/derivation performance by eliminating unused generic constraints, unused infers, and unnecessary nested type checks.

Set of changes

  • Remove unused generics
  • Remove unused infers from variables types
  • Unwrap isOptionalRec (renamed to isOptional) and getTypeDirective

Copy link

changeset-bot bot commented Jan 22, 2024

🦋 Changeset detected

Latest commit: ab7b2a9

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kitten kitten merged commit 67a8cae into main Jan 22, 2024
2 checks passed
@kitten kitten deleted the fix/improve-selection-performance branch January 22, 2024 15:15
@github-actions github-actions bot mentioned this pull request Jan 22, 2024
@kitten kitten added this to the Are We Fast Yet? milestone Mar 22, 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.

None yet

2 participants