Tue, 02 Sep 2008 15:12:50 +0200 performance: normalize self._root, avoid calling os.path.join() in dirstate
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 02 Sep 2008 15:12:50 +0200] rev 6972
performance: normalize self._root, avoid calling os.path.join() in dirstate In dirstate, self._join() might get called a lot. Instead of calling it we create self._rootdir and we then only need to append the filename.
Tue, 02 Sep 2008 15:08:26 +0200 performance: do not stat() things when not required
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 02 Sep 2008 15:08:26 +0200] rev 6971
performance: do not stat() things when not required Ignore unknown files if we don't need them (eg in hg diff). It slows things down a little bit for big trees (kernel repo), since _join() is called for each file instead of for each directory. fix issue567
(0) -3000 -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip