On 5/21/07, howard chen <[EMAIL PROTECTED]> wrote:
In fact, will it be possible to tell pp not to compress? since sometimes we just want an executable, size does not matter...
AFAIK no. The problem is not the compression per se, it's the wicked way PAR does the decompression - try a simple unzip of your executable and compare this to PAR's decompression time.
Besides, are there any performance gain/drawback when using the compiled version of program?
Only for the startup time (and this is only incurred the first time a user runs the program, after that the stuff is already unzipped into some cache area). Note that your program isn't compiled in any sense, it's still a perl script somehow stuffed into an executable (albeit made self contained by adding all modules it uses) and the executable is basically a special purpose perl interpreter with a zip file tacked on. Cheers, Roderich
