Re: Probleme mit Archive::Tar
Ferdinand Ihringer <[email protected]>
| Newsgroups | gmane.linux.suse.programming |
|---|---|
| Message-ID | <[email protected]> |
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
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
[email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]