semvec/pypi-packages huggingface dataset:
base64perf 0.0.11
Fast Base64 encoding/decoding with SSE2 and VSX optimizations
License: MIT
Requires Python: >=3.8

# Base64Perf

A faster base64 encoding/decoding library for Python, implemented in C with SSSE3 and VSX optimizations.

## Installation

```bash
pip install base64perf
```

## Usage

```python

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 `base64` module.
* Performance increases with input size.
* Tested across different types and sizes of inputs.

<br>

![Table](assets/table.png)
![Chart](assets/chart.png)