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 Distribution
base64perf-0.0.11.tar.gz
(2.7 MB
view details)
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.11.tar.gz.
File metadata
- Download URL: base64perf-0.0.11.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e174d5638124a14eb5d7a57100d330aab8beec9ff8d02773f67d2f1c6c1b55ac
|
|
| MD5 |
87648a996e90eb5177561f90a623f104
|
|
| BLAKE2b-256 |
ddab385824f5bc7814489d32bcb9953e9fd4b527d4fc07014adf019808008346
|
File details
Details for the file base64perf-0.0.11-cp310-cp310-macosx_15_0_arm64.whl.
File metadata
- Download URL: base64perf-0.0.11-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 |
f19ddcb67d55857447c042577f4809d39ed2a1de3a59f12d49b4ec34cbb2e378
|
|
| MD5 |
234739b37f6260de17277c499c9f4414
|
|
| BLAKE2b-256 |
ab609dccb9fd76cd48675e6474f20cf1a2b1b47bc7b479668d27bc6813ddc8bd
|