Skip to content

Trie-based route parser #1891

@parsonsmatt

Description

@parsonsmatt

Suggested by #1889

Currently, parsing is linear. We go through the route file one-by-one until we find a match. Additionally, we go through each repeated path segment multiple times- once for every time it is mentioned and reused. This is very slow.

Instead, we should create a trie datatype - Trie (Piece Text) - which can be used for more efficient parsing of the path pieces.

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