Skip to content

lint single byte char regex count #1385

Open
@llogiq

Description

@llogiq

Something like Regex::new("x").find_iter().count(), suggest to use bytecount instead, which is much faster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions