Skip to content

Memoize next matching location #297

@sebastienros

Description

@sebastienros

For parser instances that are invoked frequently we could find what is the index of next match and provide a quick escape when the parsing is started and we haven't reached the location. Then when we need to do a match again find the next location instead of the current char only. Could be beneficial with SIMD https://chatgpt.com/g/g-p-6911acc81ef8819191f7d835447e469d-development/c/6938f494-bce8-832d-adbe-54ccb33977e2

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