Skip to content

Make some functions constant #17

@shamatar

Description

@shamatar

It should be possible to make some functions constant, at least simple ones like an empty state. It will require to add extra constructors because runtime feature detection is obviously not constant. With further evolution of constant functions in rust it should be possible to precompute State instances if one always uses some keying.

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