Skip to content

Use smallvec for backtracking #65

@ibraheemdev

Description

@ibraheemdev

Instead of the Vec here, which causes a heap allocation for even simple cases like a root /{*path} fallback. We already have an internal smallvec implementation for route parameters which we should be able to reuse.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions