diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-09-19 17:02:12 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-09-19 17:02:12 (GMT) |
commit | 864e2670d68324e44db076de68dee8b370fce22c (patch) | |
tree | c0d81f1f89f2775b8f738d09f4fa64b9c20bda9e /CMakeLogo.gif | |
parent | d4cfb77ffe816f71d456dc70ab18efb7eb19d82d (diff) | |
download | CMake-864e2670d68324e44db076de68dee8b370fce22c.zip CMake-864e2670d68324e44db076de68dee8b370fce22c.tar.gz CMake-864e2670d68324e44db076de68dee8b370fce22c.tar.bz2 |
Minor optimization in dependency checking.
When reading the depend.internal file, check only once for every depender
whether it exists, instead of repeatedly in a loop for each dependee. Within
that function it can only change of the depender is removed. This is taken
care of.
This reduces the number of access() calls in kdelibs/khtml from 180000 to
90000 (i.e. 50%), and reduces the time for that (without the actual
scanning) from 0.3 s to 0.21 s on my system.
Alex
Diffstat (limited to 'CMakeLogo.gif')
0 files changed, 0 insertions, 0 deletions