Attached is patches.dat (rename it to patches.zip). I normally only send patches to 
Autrijus so they can show up in the latest snapshot, but p4.elixus.org has been 
unreachable for me for several days, so I'm putting them on the list, too.

To use these files, you will need to re-compile to get a new parl.exe/parldyn.exe. I 
don't have a binary build available. The files are complete files, not just change 
lines.

In PAR::Packer.pm:

   New option to pp, -z <0-9>, for zip compression level: 0=none, 9=max, default=6.

In PAR::Heavy.pm:

   Bootstrap was extracting dlls two or three times into the temp dir: corrected.

   Stephen's suggestion to use extractToFileHandle instead of print.

In PAR.pm:

   Dlls were extracted also into the inc/ dir. Now not extracted there.

The inc/ dir doesn't exist when running "pp -C", so the copy in the temp dir is the 
one 
to use, for clean and !clean. The sources in inc/ are needed for some modules that 
read 
other source files. Binaries are not needed there.

BTW, Stephen, from your observations, the big slowdown was in the temp dir extraction 
(Heavy.pm), not the inc/ extraction, since PAR_GLOBAL_CLEAN=1 ran just as slow. 
However, even with these patches, if a user is only going to run your app once, you 
should get a slight increase in startup with "pp -C" since inc/ is not created at all.

Alan Stewart

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  patches.dat
     Date:  22 Jul 2004, 17:44
     Size:  18718 bytes.
     Type:  ZIP-archive

Attachment: patches.dat
Description: Zip archive

Reply via email to