diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-09-03 23:34:24 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-09-18 22:19:22 +0200 |
commit | b36b754497df69778273f6a6e7b0d91679646565 (patch) | |
tree | 3ade4e55016bd5dadecad4b92f0a031235d3ec8e /cron-jobs/ftpdir-cleanup | |
parent | fe4152a6949a9ec3132d1a1c08335f370989198f (diff) | |
download | dbscripts-b36b754497df69778273f6a6e7b0d91679646565.tar.gz dbscripts-b36b754497df69778273f6a6e7b0d91679646565.tar.xz |
parse_pkgbuilds : simple performance tweak
this simple tweak gives a nice perf boost : from 10s to 7s to parse extra
repo.
indeed calling basename caused a fork to happen for the thousand of files
being considered
Now the major bottleneck is parsing split pkgbuilds, but I am afraid there
is no magical solution for that :(
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
0 files changed, 0 insertions, 0 deletions