Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 1. Introduction

QuickLZ 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).
QuickLZ 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 [quicklz](https://web.archive.org/web/20160110073818/http://www.quicklz.com/download.html) C library Porting. For more information about quicklz, please refer to [website archive](https://web.archive.org/web/20160110073818/https://quicklz.com/).

## 2. How to obtain

Expand Down Expand Up @@ -49,4 +49,4 @@ Solution: Modify the size of `QLZ_HASH_VALUES` under the current level in the `q
## 5. Reference materials

- QuickLZ official website: http://www.quicklz.com
- QuickLZ official manual: [manual](http://www.quicklz.com/manual.html)
- QuickLZ official manual: [manual](https://web.archive.org/web/20160308031151/http://quicklz.com/manual.html)
16 changes: 7 additions & 9 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 1、介绍

QuickLZ号称是世界上速度最快的压缩库,速度可达到单核308 Mbyte/s, 使用简单,易于集成。这个 [quicklz](https://github.com/RT-Thread-packages/quicklz) 库是RT-thread针对官方[qiuicklz](http://www.quicklz.com/download.html)的C库的移植, 有关quicklz的更多信息,请参阅[http://www.quicklz.com](http://www.quicklz.com) 。
QuickLZ号称是世界上速度最快的压缩库,速度可达到单核308 Mbyte/s, 使用简单,易于集成。这个 [quicklz](https://github.com/RT-Thread-packages/quicklz) 库是RT-thread针对官方[quicklz](https://web.archive.org/web/20160110073818/http://www.quicklz.com/download.html)的C库的移植, 有关quicklz的更多信息,请参阅[网站存档](https://web.archive.org/web/20160110073818/https://quicklz.com/) 。

## 2、获取方式

Expand All @@ -27,8 +27,8 @@ QuickLZ号称是世界上速度最快的压缩库,速度可达到单核308 Mby


### 3.2 运行示例
该示例为一个简单的文件压缩和解压的例程,需要依赖文件系统,用到的命令有两个` -c`和 `-d`, `-c`命令压缩一个文件到另一个文件,`-d`命令解压一个文件到另一个文件。
使用方式:msh cmd `qlz_test -c /file.bin /file.cmprs.bin` `qlz_test -d /file.cmprs.bin /file_dcmprs.bin`
该示例为一个简单的文件压缩和解压的例程,需要依赖文件系统,用到的命令有两个` -c`和 `-d`, `-c`命令压缩一个文件到另一个文件,`-d`命令解压一个文件到另一个文件。
使用方式:msh cmd `qlz_test -c /file.bin /file.cmprs.bin` `qlz_test -d /file.cmprs.bin /file_dcmprs.bin`

msh />qlz_test -c /file.bin /file.cmprs.bin
[qlz]compress start : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Expand All @@ -44,14 +44,12 @@ QuickLZ号称是世界上速度最快的压缩库,速度可达到单核308 Mby

`[qlz] No memory for state_compress struct, need 36868 byte, or you can change QLZ_HASH_VALUES to 1024!`

原因:quicklz库压缩时所需的内存空间比较大,设备内存空间不足
解决方法:修改`quicklz.h`文件中当前level等级下的`QLZ_HASH_VALUES`大小
原因:quicklz库压缩时所需的内存空间比较大,设备内存空间不足
解决方法:修改`quicklz.h`文件中当前level等级下的`QLZ_HASH_VALUES`大小



## 5、参考资料

- QuickLZ官方网站:http://www.quicklz.com
- QuickLZ官方手册:[manual](http://www.quicklz.com/manual.html)


- QuickLZ官方网站:http://www.quicklz.com
- QuickLZ官方手册:[manual](https://web.archive.org/web/20160308031151/http://quicklz.com/manual.html)