Mailinglist Archive: opensuse-programming-de (10 mails)

< Previous Next >
Re: Probleme mit Archive::Tar
  • From: Ferdinand Ihringer <Ferdinand.Ihringer@xxxxxx>
  • Date: Tue, 13 Jun 2006 00:04:05 +0200
  • Message-id: <200606130004.05372.Ferdinand.Ihringer@xxxxxx>
Hallo,

Am Montag, 12. Juni 2006 23:36 schrieb Ralph Müller:
[...]
> Irgendwie scheint Archive::Tar eine andere (ressourcenfressendere)
> Arbeitsmethode zu benutzen als /bin/tar, weil bei /bin/tar tritt
> _dieses_ Problem nicht auf.

man Archive::Tar

'Isn't Archive::Tar heavier on memory than /bin/tar?
Yes it is, see previous answer. Since "Compress::Zlib" and
therefore "IO::Zlib" doesn't support "seek" on their filehandles, there is
little choice but to read the archive into memory. This is ok if you want to
do in-memory manipulation of the archive. If you just want to extract, use
the "extract_archive" class method instead. It will optimize and write to
disk immediately."'

Ferdinand

--
Change is the essential process of all existence.
-- Spock, "Let That Be Your Last Battlefield", stardate 5730.2

< Previous Next >
List Navigation
Follow Ups