QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1514|回复: 7

能否用上upx嗎?載入速度可快30%以上的!!

[复制链接]
发表于 2004-5-7 21:09:56 | 显示全部楼层 |阅读模式
試過在mdk 下的 x kde gnome firefox 上用, 載入時間大大加快了, 覺得在桌面應用上大有可為的!! 最好用上upx-ucl

希望大大門多多指教~~
发表于 2004-5-8 12:45:39 | 显示全部楼层
它是个什么东东?
回复

使用道具 举报

发表于 2004-5-8 14:01:02 | 显示全部楼层
一个压缩可执行程序的程序,类似win下面的aspack
回复

使用道具 举报

 楼主| 发表于 2004-5-8 17:41:44 | 显示全部楼层
真的很好用的, 大家都來試下吧
upx.sf.net
回复

使用道具 举报

 楼主| 发表于 2004-5-8 17:58:22 | 显示全部楼层
http://www.oberhumer.com/opensource/ucl/

<b>Overview</b>

    UCL is written in ANSI C. Both the source code and the compressed data format are designed to be portable across platforms.

    UCL implements a number of algorithms with the following features:

        * Decompression is simple and *very* fast.
        * Requires no memory for decompression.
        * The decompressors can be squeezed into less than 200 bytes of code.
        * Focuses on compression levels for generating pre-compressed data which achieve a quite competitive compression ratio.
        * Allows you to dial up extra compression at a speed cost in the compressor. The speed of the decompressor is not reduced.
        * Algorithm is thread safe.
        * Algorithm is lossless.

    UCL supports in-place decompression.

    UCL and the UCL algorithms and implementations are distributed under the terms of the GNU General Public License (GPL) { auf Deutsch }. Special licenses for commercial and other applications are available by contacting the author.

<b>How fast is fast ?</b>

    Here are some original timings on an old Intel Pentium 133:

        * memcpy(): ~60 MB/sec
        * UCL decompression in optimized assembler: ~13 MB/sec
        * LZO decompression in optimized assembler: ~20 MB/sec
        * LZO decompression in C: ~16 MB/sec
回复

使用道具 举报

发表于 2004-5-9 13:35:09 | 显示全部楼层
我用过的upx,他会在/tmp下解压出老的文件再运行(不过是比较老的版本了)。

即时现在能做到在内存中解压,也要考虑解压的时间是否和
load程序的时间开销有明显优势。
回复

使用道具 举报

发表于 2004-5-9 14:37:56 | 显示全部楼层
回复

使用道具 举报

发表于 2004-5-9 14:47:17 | 显示全部楼层
呵呵,我的/tmp是用shmfs的,不在硬盘上。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-21 09:05 , Processed in 0.070042 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表