georgek 发表于 2004-5-7 21:09:56

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

試過在mdk 下的 x kde gnome firefox 上用, 載入時間大大加快了, 覺得在桌面應用上大有可為的!! 最好用上upx-ucl

希望大大門多多指教~~ :)

sjinny 发表于 2004-5-8 12:45:39

它是个什么东东? :shock:

樱家冢 发表于 2004-5-8 14:01:02

一个压缩可执行程序的程序,类似win下面的aspack

georgek 发表于 2004-5-8 17:41:44

真的很好用的, 大家都來試下吧
upx.sf.net

georgek 发表于 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

watercloud 发表于 2004-5-9 13:35:09

我用过的upx,他会在/tmp下解压出老的文件再运行(不过是比较老的版本了)。

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

jiangtao9999 发表于 2004-5-9 14:37:56

:?:

樱家冢 发表于 2004-5-9 14:47:17

呵呵,我的/tmp是用shmfs的,不在硬盘上。
页: [1]
查看完整版本: 能否用上upx嗎?載入速度可快30%以上的!!