Stephen Pick wrote:

Hi again,

I've been digging around in PAR and I've discovered that the slowdowns
are caused by PAR::Heavy when it extracts these massive DLLs. There
seems to be a buffered write (line: print $fh scalar member->contents)
in _dl_extract that is the point of slowdown. This line passes a huge
3mb scalar around the stack and then writes it with print. All of that
is very slow.

I've found that it's much faster to just use this instead of the print
statement:
$member->extractToFileHandle($fh);


Care to share a patch, or at least filename/linenumber ?

TIA,
Dean Arnold
Presicient Corp.



Reply via email to