diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2012-12-12 22:30:46 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2012-12-12 22:30:46 +0000 |
commit | 781d4c5ed68f7f3d6782ccdee189eb6720c90de2 (patch) | |
tree | 526376c1aec580cb2b0c78e27c243dd891ba2e1a /po/nb.po | |
parent | 96323c824cb6f9a6f09ae58883300e64fb432eb6 (diff) | |
download | sos-781d4c5ed68f7f3d6782ccdee189eb6720c90de2.tar.gz |
Do not allow duplicate destinations in TarFileArchive.add_file()
The logic to ensure we have a proper tar record for each directory
in the path of files collected with addCopySpec*() ends up
generating lots of duplicate calls to add_file(). Filter them out
by checking for the existence of the new destination in
tarfile.getnames().
This reduces peak resident memory consumption by 50-75% and cuts
run times by 50-66%.
Related to Issue #81
Diffstat (limited to 'po/nb.po')
0 files changed, 0 insertions, 0 deletions