开发者

Minimum memory for RAR decompression

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 m开发者_StackOverflow社区inimum of memory needed before starting. I've heard that RAR decompression requires much more memory than ZIP decompression.


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)


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜