Skip to content

Macro construction without syn #556

@Plecra

Description

@Plecra

Motivation
Macros are notoriously slow at compile time to include, it'd be nice to remove the tradeoff for users

Solution
The uuid macro can be implemented with const fn (Playground). This makes the decision easier for users - just move the call to a const context.

If we wish, we can also have the uuid macro to force the parsing to be const.

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