Skip to content

C accelerator for Base32 character encoding #146192

@kangtastic

Description

@kangtastic

Proposal:

The base64 module contains implementations of encoders/decoders for several character encodings.

Among these are the base32 and base32hex encodings mentioned in RFC 4648.

These are currently implemented in pure Python. Implementing them in C will greatly improve performance (~100x) and memory usage.

I have written a draft PR that accomplishes this, and will be submitting it shortly.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

Suggested by @serhiy-storchaka in #102753.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions