Skip to main content

No project description provided

Project description

SLEncode

Custom run-length encoding (RLE) algorithm for python implemented in Rust.

Native Rust Binary

https://github.com/MetaAnomie/SLEncode/blob/main/releases/v0.1.0/SLEncode.exe

Usage:

SLEncode.exe encode in.txt out.enc
SLEncode.exe decode out.enc orig.txt

Python Usage

import slencode

slencode.rle_encode_file("in.txt", "out.enc")
slencode.rle_decode_file("out.enc", "orig.txt")

Performance

Benchmarked on a Dell XPS 8930, Core i7-9700 CPU @ 3.00GHz (8 core), 16 GB Ram
Input Test File Size: 492 MB

Implementation Operation Duration
Rust Encoding 23.01 Seconds
Pure Python Encoding 65.97 Seconds

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slencode-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slencode-0.1.1-cp312-cp312-win_amd64.whl (106.1 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file slencode-0.1.1.tar.gz.

File metadata

  • Download URL: slencode-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.3

File hashes

Hashes for slencode-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d9cf1a18bad0a8749ca6a28083eaa547d00d9a3ed1a6ca6c534785dc8822956d
MD5 1cc5798ae3bf3482bfc0e7b277d297f6
BLAKE2b-256 b87476a3418f0239aec02893f5b2af3e8b4b4228b43942542bd2038cff24717b

See more details on using hashes here.

File details

Details for the file slencode-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for slencode-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c00f301266804b7d13976a953eb820ff77c09e08dcbf7815d9febbcf0cbd0cb7
MD5 b7228dff080973f48a612e5373143597
BLAKE2b-256 4564674f87d93240a79e64d3b6d234591f7bc4b156ca3d2db590077100bb600a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page