[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6216":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":15,"starSnapshotCount":15,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},6216,"lz4","lz4\u002Flz4","Extremely Fast Compression algorithm","http:\u002F\u002Fwww.lz4.org",null,"C",11852,1557,232,40,0,1,9,44,3,44.58,"Other",false,"dev",true,[26,27,5],"c","compression","2026-06-12 02:01:17","LZ4 - Extremely fast compression\n================================\n\nLZ4 is lossless compression algorithm,\nproviding compression speed > 500 MB\u002Fs per core,\nscalable with multi-cores CPU.\nIt features an extremely fast decoder,\nwith speed in multiple GB\u002Fs per core,\ntypically reaching RAM speed limits on multi-core systems.\n\nSpeed can be tuned dynamically, selecting an \"acceleration\" factor\nwhich trades compression ratio for faster speed.\nOn the other end, a high compression derivative, LZ4_HC, is also provided,\ntrading CPU time for improved compression ratio.\nAll versions feature the same decompression speed.\n\nLZ4 is also compatible with [dictionary compression](https:\u002F\u002Fgithub.com\u002Ffacebook\u002Fzstd#the-case-for-small-data-compression),\nboth at [API](https:\u002F\u002Fgithub.com\u002Flz4\u002Flz4\u002Fblob\u002Fv1.8.3\u002Flib\u002Flz4frame.h#L481) and [CLI](https:\u002F\u002Fgithub.com\u002Flz4\u002Flz4\u002Fblob\u002Fv1.8.3\u002Fprograms\u002Flz4.1.md#operation-modifiers) levels.\nIt can ingest any input file as dictionary, though only the final 64KB are used.\nThis capability can be combined with the [Zstandard Dictionary Builder](https:\u002F\u002Fgithub.com\u002Ffacebook\u002Fzstd\u002Fblob\u002Fv1.3.5\u002Fprograms\u002Fzstd.1.md#dictionary-builder),\nin order to drastically improve compression performance on small files.\n\nLZ4 library is provided as open-source software using BSD 2-Clause license.\n\n\nBenchmarks\n-------------------------\n\nThe benchmark uses [lzbench], from @inikep\ncompiled with GCC v8.2.0 on Linux 64-bits (Ubuntu 4.18.0-17).\nThe reference system uses a Core i7-9700K CPU @ 4.9GHz (w\u002F turbo boost).\nBenchmark evaluates the compression of reference [Silesia Corpus]\nin single-thread mode.\n\n[lzbench]: https:\u002F\u002Fgithub.com\u002Finikep\u002Flzbench\n[Silesia Corpus]: http:\u002F\u002Fsun.aei.polsl.pl\u002F~sdeor\u002Findex.php?page=silesia\n\n|  Compressor             | Factor  | Compression | Decompression |\n|  ----------             | -----   | ----------- | ------------- |\n|  memcpy                 |  1.000  | 13700 MB\u002Fs  |  13700 MB\u002Fs   |\n|**LZ4 default (v1.9.0)** |**2.101**| **780 MB\u002Fs**| **4970 MB\u002Fs** |\n|  LZO 2.09               |  2.108  |   670 MB\u002Fs  |    860 MB\u002Fs   |\n|  QuickLZ 1.5.0          |  2.238  |   575 MB\u002Fs  |    780 MB\u002Fs   |\n|  Snappy 1.1.4           |  2.091  |   565 MB\u002Fs  |   1950 MB\u002Fs   |\n| [Zstandard] 1.4.0 -1    |  2.883  |   515 MB\u002Fs  |   1380 MB\u002Fs   |\n|  LZF v3.6               |  2.073  |   415 MB\u002Fs  |    910 MB\u002Fs   |\n| [zlib] deflate 1.2.11 -1|  2.730  |   100 MB\u002Fs  |    415 MB\u002Fs   |\n|**LZ4 HC -9 (v1.9.0)**   |**2.721**|    41 MB\u002Fs  | **4900 MB\u002Fs** |\n| [zlib] deflate 1.2.11 -6|  3.099  |    36 MB\u002Fs  |    445 MB\u002Fs   |\n\n[zlib]: http:\u002F\u002Fwww.zlib.net\u002F\n[Zstandard]: http:\u002F\u002Fwww.zstd.net\u002F\n\n\nInstallation\n-------------------------\n\n```\nmake\nmake install     # this command may require root permissions\n```\n\nLZ4's `Makefile` supports standard [Makefile conventions],\nincluding [staged installs], [redirection], or [command redefinition].\nIt is compatible with parallel builds (`-j#`).\n\n[Makefile conventions]: https:\u002F\u002Fwww.gnu.org\u002Fprep\u002Fstandards\u002Fhtml_node\u002FMakefile-Conventions.html\n[staged installs]: https:\u002F\u002Fwww.gnu.org\u002Fprep\u002Fstandards\u002Fhtml_node\u002FDESTDIR.html\n[redirection]: https:\u002F\u002Fwww.gnu.org\u002Fprep\u002Fstandards\u002Fhtml_node\u002FDirectory-Variables.html\n[command redefinition]: https:\u002F\u002Fwww.gnu.org\u002Fprep\u002Fstandards\u002Fhtml_node\u002FUtilities-in-Makefiles.html\n\n### Building LZ4 - Using vcpkg\n\nYou can download and install LZ4 using the [vcpkg](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fvcpkg) dependency manager:\n\n    git clone https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fvcpkg.git\n    cd vcpkg\n    .\u002Fbootstrap-vcpkg.sh\n    .\u002Fvcpkg integrate install\n    .\u002Fvcpkg.exe install lz4\n\nThe LZ4 port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fvcpkg) on the vcpkg repository.\n\nDocumentation\n-------------------------\n\nThe raw LZ4 block compression format is detailed within [lz4_Block_format].\n\nArbitrarily long files or data streams are compressed using multiple blocks,\nfor streaming requirements. These blocks are organized into a frame,\ndefined into [lz4_Frame_format].\nInteroperable versions of LZ4 must also respect the frame format.\n\n[lz4_Block_format]: doc\u002Flz4_Block_format.md\n[lz4_Frame_format]: doc\u002Flz4_Frame_format.md\n\n\nOther source versions\n-------------------------\n\nBeyond the C reference source,\nmany contributors have created versions of lz4 in multiple languages\n(Java, C#, Python, Perl, Ruby, etc.).\nA list of known source ports is maintained on the [LZ4 Homepage].\n\n[LZ4 Homepage]: http:\u002F\u002Fwww.lz4.org\n\n### Packaging status\n\nMost distributions are bundled with a package manager\nwhich allows easy installation of both the `liblz4` library\nand the `lz4` command line interface.\n\n[![Packaging status](https:\u002F\u002Frepology.org\u002Fbadge\u002Fvertical-allrepos\u002Flz4.svg?columns=4&exclude_unsupported=1)](https:\u002F\u002Frepology.org\u002Fproject\u002Flz4\u002Fversions)\n\n\n### Special Thanks\n\n- Takayuki Matsuoka, aka @t-mat, for exceptional first-class support throughout the lifetime of this project\n","LZ4 是一种极快的无损压缩算法，提供超过500 MB\u002Fs每核心的压缩速度，并支持多核CPU扩展。其解压速度可达数GB\u002Fs每核心，通常受限于多核系统的RAM速度。LZ4允许用户通过调整“加速”因子来动态调节速度与压缩比之间的平衡；同时提供高压缩率版本LZ4_HC，以牺牲CPU时间为代价换取更高的压缩比。此外，LZ4还支持字典压缩，能够显著提升小文件的压缩性能。适用于需要快速数据压缩和解压的应用场景，如实时数据处理、网络传输等。",2,"2026-06-11 03:05:58","top_language"]