{"id":24091785,"url":"https://github.com/RT-Thread-packages/quicklz","last_synced_at":"2025-09-17T01:32:10.547Z","repository":{"id":41371462,"uuid":"120092985","full_name":"RT-Thread-packages/quicklz","owner":"RT-Thread-packages","description":"the world's fastest compression library","archived":false,"fork":false,"pushed_at":"2020-11-17T07:41:13.000Z","size":77,"stargazers_count":14,"open_issues_count":0,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2023-02-27T20:51:52.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RT-Thread-packages.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}},"created_at":"2018-02-03T13:20:01.000Z","updated_at":"2023-02-06T09:01:29.000Z","dependencies_parsed_at":"2022-07-30T07:38:05.865Z","dependency_job_id":null,"html_url":"https://github.com/RT-Thread-packages/quicklz","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fquicklz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fquicklz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fquicklz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RT-Thread-packages%2Fquicklz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RT-Thread-packages","download_url":"https://codeload.github.com/RT-Thread-packages/quicklz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233312720,"owners_count":18657093,"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":[],"created_at":"2025-01-10T07:44:43.012Z","updated_at":"2025-09-17T01:32:05.139Z","avatar_url":"https://github.com/RT-Thread-packages.png","language":"C","readme":"# QuickLZ\n\n[中文页](README_ZH.md) | English\n\n## 1. Introduction\n\nQuickLZ is known as the fastest compression library in the world, with a speed of 308 Mbyte/s per core, simple to use and easy to integrate. This [quicklz](https://github.com/RT-Thread-packages/quicklz) library is RT-thread for the official [qiuicklz](http://www.quicklz.com/download.html) C library Porting. For more information about quicklz, please refer to [http://www.quicklz.com](http://www.quicklz.com).\n\n## 2. How to obtain\n\n- Obtain by Git:\n`git clone https://github.com/RT-Thread-packages/quicklz.git`\n\n- env tool to assist download:\n  menuconfig package path: `RT-Thread online package` -\u003e `miscellaneous package` -\u003e `QucikLZ`\n\n## 3. Example introduction\n\n### 3.1 Get examples\n\n- Configure the enable sample option `Enable using quizklz sample`;\n- Configure the compression level option, set to level 1 (there are three levels 1/2/3, level 1 has the fastest compression speed and the smallest compression ratio, and level 3 has the fastest compression speed and the largest compression ratio);\n- The configuration package version is selected as the latest version `latest_version`.\n\n![](./doc/image/QuickLZ.jpg)\n\n### 3.2 Run example\nThis example is a simple file compression and decompression routine, which depends on the file system. The commands used are two `-c` and `-d`. The `-c` command compresses one file to another, ` The -d` command decompresses a file to another file.\nUsage: msh cmd `qlz_test -c /file.bin /file.cmprs.bin` `qlz_test -d /file.cmprs.bin /file_dcmprs.bin`\n\n```\nmsh /\u003eqlz_test -c /file.bin /file.cmprs.bin\n[qlz]compress start: \u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e \u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\n[qlz]compressed 469848 bytes into 363495 bytes, compression ratio is 77%!\nmsh /\u003e\nmsh /\u003eqlz_test -d /file.cmprs.bin /file_dcmprs.bin\n[qlz]decompress start: \u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e \u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\n[qlz]decompressed 363495 bytes into 469848 bytes!\n```\n## 4. Common problems\n\n### 4.1 Out of memory problem\n\n   `[qlz] No memory for state_compress struct, need 36868 byte, or you can change QLZ_HASH_VALUES to 1024!`\n\nReason: The memory space required for quicklz library compression is relatively large, and the device memory space is insufficient\nSolution: Modify the size of `QLZ_HASH_VALUES` under the current level in the `quicklz.h` file\n\n## 5. Reference materials\n\n- QuickLZ official website: http://www.quicklz.com\n- QuickLZ official manual: [manual](http://www.quicklz.com/manual.html)\n","funding_links":[],"categories":["Packages"],"sub_categories":["Misc"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRT-Thread-packages%2Fquicklz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRT-Thread-packages%2Fquicklz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRT-Thread-packages%2Fquicklz/lists"}