RAR解压的最小内存

发布于 2024-09-11 04:17:52 字数 134 浏览 1 评论 0原文

运行 RAR 解压缩算法所需的最小内存是多少?

我想将 RAR 解压缩算法移植到手机(iPhone、Android 和 BlackBerry)上,并想知道开始之前是否需要最低限度的内存。我听说 RAR 解压比 ZIP 解压需要更多的内存。

What's the minimum memory needed to run a RAR decompression algorithm?

I want to port a RAR decompression algorithm to mobiles (iPhone, Android and BlackBerry) and want to know if there's a bare minimum of memory needed before starting. I've heard that RAR decompression requires much more memory than ZIP decompression.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

笨死的猪 2024-09-18 04:17:52

相当多。字典的最大大小为 4 MB,但至少是官方的 unrar 库(与 WinRAR 的来源相同)在某些解压算法中占用超过 24 MB

(至于最后一条语句:请注意,t 至少为 1 MB (uint t=SASize << 20;),但可以更大,因为 SASize 可能大于 1)

Quite a lot. The maximum size of the dictionary are 4 MB, but at least the official unrar library (which is built from the same source as WinRAR) takes over 24 MB in some decompression algorithms.

(as to the last statement: note that the t is at least 1 MB (uint t=SASize << 20;), but can be more because SASize may be more than 1)

背叛残局 2024-09-18 04:17:52

无法提供具体数字,但我记得 2001 年我在 PocketPC 上使用 WinRAR,当时只有 64mb RAM,其中大约一半用于共享存储 — 所以我很确定一部现代手机就足够了。

Can't give you a concrete number, but I remember using WinRAR back in 2001 on my PocketPC with only 64mb of RAM, about half of which was shared for storage -- so I'm pretty sure a modern phone should suffice.

过潦 2024-09-18 04:17:52

iPhone 上有很多支持 .cbr 的漫画查看器,所以我认为这是可行的。

There are plenty of Comic Viewers on the iPhone that support .cbr so I its doable.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文