Skip to content

Should Result and Option be enums? #64

Description

@OutSquareCapital

Ironically, we implement those types as separate structs instead of enums. This is legacy from original python implementation where it was much faster, but is this still the case in rust?

Hopefully we can migrate to enums, as this would very likely make Iterators who use those constructs much faster, and the surrounding code much more readable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededneed discussion/reflexionYet to decide architectural-level changesperformanceperformance-improvement enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions