Skip to content

Bad performance characteristics of stripTrailing etc... #15

@hderms

Description

@hderms

using s.replaceFirst causes the regex to be compiled over and over again and this is called in a tight loop. I don't have any numbers to back this up but it's almost certainly making the library much slower than it needs to be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions