Skip to content

Performance impact of --allow-redefinition-new #20816

@ilevkivskyi

Description

@ilevkivskyi

I just noticed that on self-check --allow-redefinition-new makes it ~10% slower. Probably because we infer more union types. I think we should fix (or at least investigate) this before renaming --allow-redefinition-new to --allow-redefinition.

cc @JukkaL

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrongpriority-0-hightopic-inferenceWhen to infer types or require explicit annotations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions