Skip to content

Documentation around validate performance #680

@dhirschfeld

Description

@dhirschfeld

Hi @mayeut! 👋
Thanks for making pybase64 available - it looks like an awesome library!

I'm just trying to determine whether or not to use validate=True but am finding I don't have enough context to make the decision.

The readme says:

To get the fastest decoding, it is recommended to use the pybase64.b64decode and validate=True when possible.

...but I'm struggling to understand how decoding + validation can be faster than just decoding on it's own?

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