Skip to content

Mutalyzer normalize is very slow due to repeated initialization of lark parser #34

@yfarjoun

Description

@yfarjoun

In the current implementation normalize initialized a new parser for every normalize call. this end up costing much more than the parse call.

Since normalize uses 1 of two possible parsers (it seems) one could simply use a cache to obtain the right parser.

fixed in #33

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions