Skip to content

Optimizing too many if-else into a switch-case #16314

Description

@rajat315315

Description

I have observed in below file that we are using around 44 if-else statements which is un-optimized as well as a bad code practice.

I think this should be solvable easily and therefore creating a small PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions