moezip 1.0a - Initial Release
moezip 1.0.0
This is the initial release of moezip, a C++20 text compression engine built around a Mixture of Experts (MoE) state router, rANS arithmetic coding, and LZ match finding.
Because the default vocabulary and router matrix are embedded directly into the compiled binaries during the build step, moezip is fully self-contained and works out of the box without requiring external dictionary files on disk.
Downloads & What's Included
The attached zip files contain pre-compiled 64-bit binaries for both Windows and Linux:
moezip-v1.0a-windows-x86_64.zip (Windows MSVC Build)
moezip.exe: Standalone command-line executablemoezip.dll: C-API shared library (for ctypes or C/C++ integration)moezip.pyd: Native Python extension module (import moezip)
moezip-v1.0a-linux-x86_64.zip (Linux GCC Build)
moezip: Standalone command-line executablelibmoezip.so: C-API shared librarymoezip.so: Native Python extension module (import moezip)
Features & Performance Summary
- Text-specialized compression: Achieves around 36%–42% compression ratio on short-to-medium text blocks and JSON payloads, avoiding the size expansion that standard algorithms suffer from on tiny inputs.
- Low-latency execution: When kept in memory via the Python extension or shared library, compression runs in under 3 milliseconds (and 15–50 microseconds on short phrases).
- Portable binaries: Vocabulary assets are baked into the C++ headers during compilation, so binaries can be moved to any folder or machine independently.
Quick Start (Python)
Copy moezip.pyd (Windows) or moezip.so (Linux) into your project folder:
import moezip
# Compress text in memory
compressed_bytes = moezip.compress("Hello world, compress this text!")
# Decompress back to original text
restored_text = moezip.decompress(compressed_bytes)
print(restored_text)Refer to the repository README for full C-API documentation, build steps, and benchmark details.
Full Changelog: https://github.com/medoomem/moezip/commits/1.0.0