Skip to content

Improve performance with else if #32

@widhalmt

Description

@widhalmt

The current filters have a lot of if checks. But when we look closely we see that most events can only match one filter in a file and not many. So after the first match we can skip testing for more hits. This skipping can be achieved by changing if into else if.

So check all filter files and replace if with else if where appropriate.

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