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: Add tail recursion where it's possible but missing #51

Merged
merged 4 commits into from
Feb 3, 2024

Commits on Feb 3, 2024

  1. Make _getPossbleTypeSelectionRec tail recursive

    This doesn't seem to affect `selection` benchmarks,
    but is technically more correct since tail-recursion
    is possible here.
    
    Co-authored-by: deathemperor <[email protected]>
    Co-authored-by: HaiNNT <[email protected]>
    3 people committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    efec607 View commit details
    Browse the repository at this point in the history
  2. Make getInputObjectTypeRec tail recursive

    More correct, as per tail recursion in other
    places, but `variables.ts` didn't get much
    attention before
    
    Co-authored-by: deathemperor <[email protected]>
    Co-authored-by: HaiNNT <[email protected]>
    3 people committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    f49842f View commit details
    Browse the repository at this point in the history
  3. Make getVariables tail recursive

    More correct, as per tail recursion in other
    places, but `variables.ts` didn't get much
    attention before
    kitten committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    a8628c2 View commit details
    Browse the repository at this point in the history
  4. Add changeset

    kitten committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    235df22 View commit details
    Browse the repository at this point in the history