in reply to Best Practices for Uncompressing/Recompressing Files?
Out of curiousity, are you uncompressing all the files first, then processing them all, then compressing them all, or are you taking each file and uncompressing, processing, and recompressing it before moving on to the next file?
That may or may not make a difference for performance, but it will absolutely make a difference for the disk space used while your script runs.
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best Practices for Uncompressing/Recompressing Files?
by Anonymous Monk on Sep 27, 2008 at 18:46 UTC |