zlib 在慢速电脑上能有多快?

发布于 2024-10-09 03:28:06 字数 175 浏览 0 评论 0原文

我有一台 500Mhz CPU 和 256MB RAM 的机器,运行 32 位 Linux。

我有大量大小约为 300KB 的文件。我需要非常快地压缩它们。我已将 zlib 的压缩级别设置为 Z_BEST_SPEED。我还可以采取其他措施吗?

在这样的机器上是否可以在一秒钟内压缩25-30个这样的文件?

I have a 500Mhz CPU and 256MB RAM machine running 32bit Linux.

I have a large number of files around 300KB in size. I need to compress them very fast. I have set up the compression level for zlib at Z_BEST_SPEED. Is there any other measure I could take?

Is it possible to compress 25-30 files like this in a second on such a machine?

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

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

发布评论

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

评论(1

任谁 2024-10-16 03:28:06

您实质上谈论的是 10MB/秒的速度。即使您只是将文件从一个地方复制到另一个地方,我也会怀疑您的慢速硬件是否可以做到这一点。因此,对于压缩,我会投票 - 不可能“在这样的机器上一秒钟压缩 25-30 个文件”。

You are essentially talking about a 10MB/sec speed. Even if you were to only copy the files from one place to another I would doubt that your slow hardware could do it. So, for compression I would vote No - it's not possible "to compress 25-30 files like this in a second on such a machine".

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