aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-12 22:30:46 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-12 22:30:46 +0000
commit781d4c5ed68f7f3d6782ccdee189eb6720c90de2 (patch)
tree526376c1aec580cb2b0c78e27c243dd891ba2e1a /.gitignore
parent96323c824cb6f9a6f09ae58883300e64fb432eb6 (diff)
downloadsos-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions