Fast Base64 encoding/decoding with SSE2 and VSX optimizations
Project description
Base64Perf
A faster base64 encoding/decoding library for Python, implemented in C with SSSE3 and VSX optimizations.
Installation
pip install base64perf
Usage
from base64perf import b64encode, b64decode
print(b64encode(b"Hello, World!"))
print(b64decode(b64encode(b"Hello, World!")))
License
MIT
Performance
- 3-24x faster than the stdlib
base64module. - Performance increases with input size.
- Tested across different types and sizes of inputs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file base64perf-0.0.10-cp310-cp310-macosx_15_0_arm64.whl.
File metadata
- Download URL: base64perf-0.0.10-cp310-cp310-macosx_15_0_arm64.whl
- Upload date:
- Size: 11.4 kB
- Tags: CPython 3.10, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7eb4f9fb6025b8cce0155b9acc509b1f21a326a8f9374febc0d2918758d4689a
|
|
| MD5 |
646dc58fa954f43bb0ba227adc64e389
|
|
| BLAKE2b-256 |
625aca31ea661424213f46619c0e7bdf27876d80b7a41455b8aed5a14b1a5c24
|