Skip to content

Move convert inside Convertible#18

Open
AliceRixte wants to merge 2 commits intohdbc:masterfrom
AliceRixte:master
Open

Move convert inside Convertible#18
AliceRixte wants to merge 2 commits intohdbc:masterfrom
AliceRixte:master

Conversation

@AliceRixte
Copy link

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.

@AliceRixte AliceRixte mentioned this pull request Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant