南辕北辙什么意思| 妊娠期是指什么时候| 脚底板脱皮是什么原因| 52年属什么| 什么终于什么造句| 海参补什么| 固执是什么意思| 什么药可以降肌酐| 鱼油有什么好处| 乐山大佛是什么佛| 孕检唐筛是检查什么的| 呼吸困难气短是什么原因| 肾积水是什么原因造成的| 尿肌酐是什么意思| 青龙是什么意思| 喝什么茶能减肥| 生物冰袋里面是什么| 盆腔炎是什么| 购物狂是什么心理疾病| 足内翻是什么样子的| 茅台为什么这么贵| chanel什么牌子| 10月25日什么星座| 痱子是什么样的图片| 贝五行属什么| 肚脐眼下面痛什么原因| 什么牌子的助听器好| 南红五行属什么| 人为什么会缺钾| 恻隐之心什么意思| 记性越来越差是什么原因| 人什么什么事的成语| 伏什么意思| 表示什么意思| 尿微量白蛋白是什么意思| 壁虎代表什么生肖| 什么是钓鱼网站| 长期熬夜吃什么可以补回来| 菜场附近开什么店好| few是什么意思| 人肉是什么味道| 60岁属什么| 11月17是什么星座| 肝胆相照什么意思| 什么情况需要查凝血| 酒是什么时候发明的| 对什么都不感兴趣| 什么情况不能献血| 脑萎缩是什么原因引起的| 鞘膜积液挂什么科| 鼻烟是什么| 季付是什么意思| 911是什么| 老年人心跳过快是什么原因| 计数单位是什么意思| 什么是肠易激综合征| 什么的狼| 掉头发是什么原因| 打火机里的液体是什么| 通宵是什么意思| 空调输入功率是什么意思| 血小板分布宽度偏低是什么原因| 什么的仪式| tmp是什么药| 做梦梦见老婆出轨是什么意思| 大生化检查能查出什么病来| 一直干呕是什么原因| 招财猫鱼吃什么| 中管干部是什么级别| 生蒜头吃了有什么好处和坏处| 半月板后角变性什么意思| 经常喝藕粉有什么好处| 肺结节挂什么科| 米酒发酸是什么原因| 生二胎应该注意什么| 砥砺什么意思| 相思病是什么意思| 喝什么水好啊| 白夜是什么意思| 紫苏是什么| 大意失荆州是什么意思| 一什么头巾| 隔离霜和bb霜有什么区别| 谷丙转氨酶高吃什么药| 小猫的尾巴有什么作用| 收到是什么意思| 猫死后为什么要挂在树上| 罗贯中是什么朝代的| 安哥拉树皮有什么功效| 盲约大结局是什么| 烟雾病是什么| 景象什么意思| 血栓是什么病| hpv高危是什么意思| 身份证后面有个x是什么意思| 韩红和张一山什么关系| 什么颜色加什么颜色等于棕色| 女人贫血吃什么补血最快| 阿甘正传珍妮得了什么病| 指甲有竖纹吃什么药| 做梦拉粑粑是什么意思| 尿急吃什么药| 复方对乙酰氨基酚片是什么药| 即使什么也什么| 读什么| xo酱是什么酱| 一个虫一个合读什么| 腰果有什么好处| 鱼肝油是什么| 酶是什么| lino是什么面料| 胃袋是什么| 什么是支原体感染| 泥鳅吃什么东西| 黄精吃了有什么好处| 3月16是什么星座| 什么是试管婴儿| 不经意间是什么意思| 老年人生日送什么礼物| 小朋友膝盖疼是什么原因| cob是什么意思| 脸浮肿是什么病的前兆| 表哥的女儿叫什么| 老人大便失禁是什么原因| 乙酰胆碱的作用是什么| 吃什么可以瘦肚子| 为什么每天晚上睡觉都做梦| 1936年属什么生肖| prg是什么意思| 看破红尘下一句是什么| 什么树没有叶| 跳槽是什么意思| 冲太岁什么意思| 经常挖鼻孔有什么危害| 面子里子什么意思| 石女是什么| 动物园有什么动物| 妈妈的表姐叫什么| 早晨5点是什么时辰| 什么是梦| 定增是什么意思| 二月一日是什么星座| 金刚是什么树的种子| jasonwood是什么牌子| 家产是什么意思| 客服是什么工作| 水泥烧伤皮肤用什么药| 长痣是什么原因引起的| 备孕不应该吃什么| 424是什么意思| 九牧王男装是什么档次| 2008年属鼠是什么命| 右手心痒是什么预兆| 斐字五行属什么| 恋童癖是什么意思| 维生素C起什么作用| 静脉血是什么颜色| 腻害什么意思| 双红出彩是什么生肖| 红鸾星动是什么意思| 八月三十日是什么星座| 真菌感染有什么症状| 减肥为什么让早上空腹喝咖啡| 手一直抖是什么原因| 皮肤癣用什么药最好| 5月2号是什么星座| arrior是什么牌子轮胎| 俱往矣是什么意思| 什么是三伏贴| 财迷是什么意思| 吃东西没有味道是什么原因| 吃什么有奶| 直肠增生性的息肉是什么意思| 滴虫性阴炎用什么药效果最好| 红色连衣裙配什么鞋子好看| 费玉清为什么不结婚| 心肌炎是什么病严重吗| 为什么得带状疱疹| 养病是什么意思| 槟榔是什么味道| 迟钝是什么意思| 冰室是什么意思| 老年人反复发烧是什么原因引起的| mj什么意思| 每天吃一根黄瓜有什么好处| 专技十三级是什么意思| 雍正为什么不杀十阿哥| 棉是什么面料| 肚脐眼臭是什么原因| 性早熟有什么危害| 水瓶座什么象| 铁蛋白高吃什么食物好| 生物科技是做什么的| 嘴角疱疹用什么药膏| 古着店是什么意思| 胳膊困疼是什么原因| 温水煮青蛙是什么意思| 人过留名雁过留声什么意思| 腺癌是什么原因引起的| 野鸡吃什么| 眼角痛什么原因| rinnai是什么品牌| 甲亢吃什么药好得快| 吃什么瘦肚子最快| 唐僧取经取的是什么经| 生物钟是什么| 家里飞蛾多是什么原因| 慢性病都包括什么病| 爱出汗挂什么科| ab型和o型生的孩子是什么血型| 鸟字旁的字大多和什么有关| 油面筋是什么做的| 立夏吃什么蛋| 血热吃什么药快速见效| 心跳太快吃什么药| 为什么养鱼双数是大忌| 属鼠男和什么属相最配| 吃大虾不能吃什么| 是什么意思啊| 陶渊明世称什么| 什么是卫星| fisherman是什么意思| 尿突然是红褐色的是什么问题| 40不惑是什么意思| 肚脐周围是什么肠| 心脏彩超ef是什么意思| 脚后跟疼是什么情况| 什么时候恢复高考| 远视储备是什么意思| 胎盘粘连是什么原因造成的| 脚脖子抽筋是什么原因| 自汗吃什么中成药| 滴水不漏是什么生肖| 什么病需要化疗| 脂肪垫是什么| 什么原因导致胎停| ysl是什么牌子| 8月10号是什么星座| 什么地画| 子宫内膜异位症有什么症状| 白虎关是什么意思| 韬光养晦是什么意思| 喉镜能检查出什么病| 鹿晗的原名是什么| pu是什么元素| winbond是什么品牌| 教师节送什么礼物好| 慢性荨麻疹是什么原因引起的| 胸前有痣代表什么意思| 宫颈阳性是什么意思| 什么的蜡烛| 有过之而不及什么意思| 年轻人心悸是什么原因| 十二年义务教育什么时候实行| 25羟维生素d测定是什么| 慢性胃炎用什么药效果最好| 竹荪是什么东西| roma是什么意思| 杨柳是什么生肖| 做梦梦见兔子是什么意思| ex是什么| 率性是什么意思| 月经期间吃西瓜有什么影响| 批发零售属于什么行业| 百度Jump to content

中俄合拍纪录片《这里是中国》首播仪式在莫斯科举行

From Wikipedia, the free encyclopedia
LZFSE
Developer(s)Apple
Initial release2015
Stable release
lzfse-1.0 / 8 May 2017; 8 years ago (2025-08-14)
Repositorylzfse on GitHub
Written inC
Operating systemmacOS, iOS, Linux[1]
Available inC
TypeData compression
License3-clause New BSD License
百度 《为什么研究中国建筑》一书整理汇集了梁思成论述、考察中国建筑的系列论文,辅以多幅配图,以论著的形式系统呈现给海外读者,最大限度地体现出该书重要的学术价值和史料价值。

LZFSE (Lempel–Ziv Finite State Entropy) is an open source lossless data compression algorithm created by Apple Inc. It was released with a simpler algorithm called LZVN.[2]

Overview

[edit]

The name is an acronym for Lempel–Ziv and finite-state entropy[3] (implementation of asymmetric numeral systems). LZFSE was introduced by Apple at its Worldwide Developer Conference 2015. It shipped with that year's iOS 9 and OS X 10.11 releases.

Apple claims that LZFSE compresses with a ratio comparable to that of zlib (DEFLATE) and decompresses two to three times faster while using fewer resources, therefore offering higher energy efficiency than zlib. It was aimed for scenarios where decompression speed and rate should be prioritised equally.[3] Part of this energy efficiency was achieved by optimising the algorithm for modern micro-architectures, specifically focusing on arm64.[4] Third-party benchmarking confirms that LZFSE decompresses faster than zlib, but also suggests that many other modern compression algorithms may have more favorable compression algorithm performance characteristics such as density, compression speed and decompression speed by a significant margin.[5]

According to the Squash Benchmark, LZFSE is similar in speed to zstd (level 6), but has a slightly worse ratio. LZVN is similar in speed to LZ4 level 4, with a slightly worse ratio as well.[6] Neither LZFSE nor LZVN is tunable at runtime, although a few constants can be tweaked at compile time for the usual speed-ratio trade-off.[7]

Implementation

[edit]

A reference C library written by Eric Bainville was made available under the 3-clause BSD License after WWDC 2016. It includes an executable to compress and decompress LZFSE streams as well. There are no plans to expose an LZVN API.[1]

Apple's LZFSE implementation uses a simpler algorithm called LZVN when the input is smaller than LZFSE_ENCODE_LZVN_THRESHOLD (4096 bytes). This is a LZSS-type algorithm without entropy encoding but with three widths of REP (L,M,D) packets. In the open source reference implementation, Apple explains that LZFSE does not perform as well for small sizes, so LZVN is used instead.[7] This algorithm in libfastCompression.a was discovered earlier as the default kernelcache compression method in Mac OS X Yosemite Developer Preview 1 (2014), replacing the legacy lzss compression from Haruhiko Okumura.[8]

Usage

[edit]

AppleFSCompression.framework (AFSC), the mechanism for quasi-transparent compression in HFS Plus and Apple File System, supports LZFSE and LZVN since OS X 10.9.

Apple's Disk Images framework has offered an LZFSE-based encoding called ULFO since Mac OS X 10.11,[9] accessible via hdiutil(1)[10] and some third-party image utilities.

Apple introduced the Apple Archive format and its associated API in macOS High Sierra in 2017.[11] The extension name is .aar (since macOS Big Sur, used to be .yaa). Encryption was introduced in macOS Monterey, when AA became the default Archive Utility format. Three command-line utilities are available in macOS to handle AA files.[12][13] Of third-party programs, Keka is able to use the system APIs to handle AA files, but no independent implementations exist on other systems.[14]

See also

[edit]

References

[edit]
  1. ^ a b Bainville, Eric (2025-08-14). "LZFSE compression library and command line tool". GitHub. Retrieved 2025-08-14.
  2. ^ Apple Inc. "Data Compression - Compression | Apple Developer Documentation". developer.apple.com. Retrieved 2025-08-14.
  3. ^ a b De Simone, Sergio. "Apple Open-Sources its New Compression Algorithm LZFSE". infoq. Retrieved 2025-08-14.
  4. ^ Apple Inc. (2025-08-14). "Low Energy, High Performance: Compression and Accelerate – WWDC 2015 – Apple Developer Videos". developer.apple.com. Retrieved 2025-08-14. pdf Archived 2025-08-14 at the Wayback Machine
  5. ^ "Compression Benchmark". Retrieved 2025-08-14.
  6. ^ "Squash Compression Benchmark". GitHub. Squash. Retrieved 25 December 2019.
  7. ^ a b "lzfse_tunables.h". GitHub. 18 December 2019. Retrieved 22 December 2019.
  8. ^ Piker-Alpha (4 June 2014). "OS X 10.10 Yosemite DP1 kernel(cache)". Pike's Universum. Retrieved 22 December 2019.
  9. ^ Tsai, Michael (2025-08-14). "LZFSE Disk Images in El Capitan". Archived from the original on 2025-08-14. Retrieved 2025-08-14.
  10. ^ "hdiutil(1) mojave man page". Retrieved 2025-08-14.
  11. ^ "Apple Archive". Apple Developer Documentation.
  12. ^ "Inside Apple Archive: more than a compression format". The Eclectic Light Company. 10 May 2022.
  13. ^ "AA(1): Manipulate Apple Archives". keith.github.io.
  14. ^ "AppleArchive support · Issue #829 · aonez/Keka". GitHub.
  15. ^ "compression_algorithm". Apple Developer Documentation. Apple Inc. Retrieved 2025-08-14.
[edit]
尿频繁吃什么药最见效 情人总分分合合是什么歌 东北大拉皮是什么做的 昏天黑地什么意思 周期长度什么意思
果糖是什么糖 扁桃体经常发炎是什么原因 产后抑郁一般发生在产后什么时间 早上起床口苦口干是什么原因 岚字五行属什么
肿瘤介入治疗是什么意思 天蝎座属于什么象星座 蜂蜜加柠檬有什么功效和作用 甘薯和红薯有什么区别 胃火大吃什么药
龋齿挂什么科 属虎的生什么属相的宝宝好 亚临床甲减是什么意思 吃糖醋蒜有什么好处和坏处 籽料是什么意思
血常规检查什么hcv8jop6ns1r.cn ml 什么意思creativexi.com 蛋白高是什么原因hcv7jop9ns3r.cn 空调什么牌子最好dayuxmw.com 用淘米水洗脸有什么好处hcv8jop8ns2r.cn
经常中暑的人体内缺什么hcv7jop4ns6r.cn 行为艺术是什么意思hcv9jop4ns1r.cn 冬瓜什么时候成熟hcv9jop2ns9r.cn 狄仁杰为什么才三品hcv9jop2ns7r.cn 龚是什么意思xinjiangjialails.com
阿胶什么时候吃效果最好hcv9jop7ns2r.cn 经常胸闷是什么原因hcv7jop6ns1r.cn dove什么意思hcv8jop8ns2r.cn 家里镜子放在什么位置比较好hcv7jop6ns8r.cn 天地不仁以万物为刍狗是什么意思hcv8jop9ns9r.cn
避火图是什么hcv8jop9ns3r.cn 眉头有痣代表什么意思wzqsfys.com 肾小球滤过率偏高说明什么hcv8jop2ns5r.cn 为什么会长老年斑hcv9jop2ns0r.cn 2018年属什么生肖hcv8jop6ns3r.cn
百度