{"id":13595511,"url":"https://github.com/richox/orz","last_synced_at":"2025-05-15T03:08:34.563Z","repository":{"id":29410035,"uuid":"121140050","full_name":"richox/orz","owner":"richox","description":" a high performance, general purpose data compressor written in the crab-lang","archived":false,"fork":false,"pushed_at":"2024-12-20T19:19:36.000Z","size":27083,"stargazers_count":815,"open_issues_count":11,"forks_count":52,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-14T03:11:26.531Z","etag":null,"topics":["compression","crab-lang","data"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-11T16:01:00.000Z","updated_at":"2025-04-11T09:14:07.000Z","dependencies_parsed_at":"2024-09-11T13:49:49.872Z","dependency_job_id":"bb953788-df25-44c8-8805-e44f2505e904","html_url":"https://github.com/richox/orz","commit_stats":{"total_commits":206,"total_committers":15,"mean_commits":"13.733333333333333","dds":"0.38834951456310685","last_synced_commit":"c828a50f18a309d4715741056db74941e6a98867"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richox%2Forz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richox%2Forz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richox%2Forz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richox%2Forz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richox","download_url":"https://codeload.github.com/richox/orz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264771,"owners_count":22041794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","crab-lang","data"],"created_at":"2024-08-01T16:01:51.477Z","updated_at":"2025-05-15T03:08:29.546Z","avatar_url":"https://github.com/richox.png","language":"Rust","funding_links":[],"categories":["Rust","data"],"sub_categories":[],"readme":"Orz\n===\norz -- a general purpose data compressor written in the crab-lang.\n\n[![LICENSE](https://img.shields.io/badge/license-MIT-000000.svg)](https://github.com/richox/orz/blob/master/LICENSE)\n[![Enwik8 Benchmark](https://github.com/richox/orz/actions/workflows/enwik8-benchmark.yml/badge.svg?branch=master)](https://github.com/richox/orz/actions/workflows/enwik8-benchmark.yml)\n\norz is an optimized ROLZ (reduced offset Lempel-Ziv) general purpose data compressor. input data is encoded as ROLZ-matches (reduced-offsets and match lengths), 2-byte words, and single bytes. then all encoded symbols are processed with a symbol ranking (aka Move-to-Front) transformer and a static huffman coder.\n\nbenefited from the ROLZ algorithm, orz compresses times faster than many other LZ-based compressors which has same compression ratio, and decompression speed is still very acceptable.\n\norz is completely implemented in the crab-lang. clone the repo and run `cargo build --release` to have an executable orz binary.\n\ninstallation\n============\nyou can install orz with cargo:\n\n    cargo install orz --git https://github.com/richox/orz --tag v1.6.2\n\nusage\n=====\n\nfor compression:\n\n    orz encode \u003csource-file-input\u003e \u003ccompressed-file-output\u003e\n\nfor decompression:\n\n    orz decode \u003ccompressed-file-input\u003e \u003csource-file-output\u003e\n\nfor more details, see `orz --help`\n\nbenchmarks\n==========\nbenchmark for 100MB of Large Text Compression Benchmark (enwik8, see http://mattmahoney.net/dc/text.html):\n\n(for latest enwik8 benchmark result, see [github actions](https://github.com/richox/orz/actions/workflows/enwik8-benchmark.yml))\n\n|   name    |compressed size|encode time|decode time|\n|-----------|---------------|-----------|-----------|\n|   xz -6   |  26,665,156   |  69.815s  |  1.309s   |\n|**orz -l2**|  26,893,684   |  8.245s   |  1.414s   |\n| zstd -19  |  26,942,199   |  62.931s  |  0.239s   |\n|**orz -l1**|  27,220,056   |  6.714s   |  1.393s   |\n|**orz -l0**|  27,896,572   |  5.209s   |  1.405s   |\n| bzip2 -9  |  29,008,758   |  7.417s   |  3.538s   |\n| zstd -15  |  29,544,237   |  29.860s  |  0.196s   |\n| brotli -9 |  29,685,672   |  36.147s  |  0.285s   |\n| brotli -8 |  30,326,580   |  17.989s  |  0.271s   |\n| zstd -10  |  30,697,144   |  4.205s   |  0.192s   |\n| brotli -7 |  31,057,759   |  11.730s  |  0.267s   |\n|   lzfse   |  36,157,828   |  1.762s   |  0.179s   |\n|  gzip -6  |  36,548,933   |  4.461s   |  0.357s   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichox%2Forz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichox%2Forz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichox%2Forz/lists"}