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

perf: Generating "else if" where applicable #1141

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Commits on Nov 26, 2024

  1. Generating "else if" where applicable

    In oneof scenarios, this commit proposes generating "else if" statements where applicable.
    
    The original idea was an attempt to speed up Typescript compilation by reducing the amount of paths Typescript can analyze.
    Spoiler alert => nothing changes from that point of view.
    
    Still, the "else if" conditions should slightly speed up the runtime execution,
    by avoiding unnecessary checks to the Javascript runtime.
    moufmouf committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    d49e440 View commit details
    Browse the repository at this point in the history