delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/23/19:00:27

From: "AndrewJ" <luminous-is AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000521083353 DOT 15757J-100000 AT is> <001101bfc2e7$86689ce0$5112ddcc AT lhaglund>
Subject: Re: UPX
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <tPDW4.89825$55.1885086@news2.rdc1.on.home.com>
Date: Tue, 23 May 2000 22:42:33 GMT
NNTP-Posting-Host: 24.42.120.18
X-Complaints-To: abuse AT home DOT net
X-Trace: news2.rdc1.on.home.com 959121753 24.42.120.18 (Tue, 23 May 2000 15:42:33 PDT)
NNTP-Posting-Date: Tue, 23 May 2000 15:42:33 PDT
Organization: @Home Network Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> It was easier than it seemed. I just unziped it and draged it to upx.
> I shrunk it too 200 kb so thats good. I sped crafty up a little bit.
> Does anyone know any more ways to speed up crafty?

Rewrite the code using better methods and algorithms.  Compressing a file
doesn't speed it up, it actually slows it down (at startup), although with UPX
it's not too bad, since UPX's decompression speed is fairly quick.

To make it smaller, did you 'strip' the final executable?  This assumes, of
course, that you built it yourself with DJGPP.

Oh, and if you do a lot of work in a DOS box, you might do well to put UPX in
the /WINDOWS/COMMAND or %DJDIR%/BIN directories.  Drag 'n drop... phegh, I spit
at drag 'n drop.  <g>

AndrewJ


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019