Skip to content

Make typeguard toggleable to increase speed #229

Closed
@juliusfrost

Description

@juliusfrost

Is your feature request related to a problem? Please describe.
Although typeguard is useful when initial debugging, it can slow down heavy use of pycardano. When I remove typeguard, I get almost 2x increase in speed. I would like there to be an option to turn off typegaurd type checking.

Describe the solution you'd like
Create a flag or environment variable that turns off typeguard.

Describe alternatives you've considered
N/A

Additional context
I'm trying to increase the speed of my hypothesis tests: OpShin/opshin-pioneer-program#43

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions