Skip to content

Faster conversion #19

@AliceRixte

Description

@AliceRixte

First of all, thank you for this work ! 🥳

I would like to move convert inside the Convertible class. Indeed, when a conversion cannot fail, using the convert is needlessly slowed down by pattern matching on ConvertResult.

Moving convert inside the Convertible class would allow to define it directly, and therefore making it more efficient.

I opened a PR #18 for this.

Cheers !

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