comparison mercurial/demandimport.py @ 13200:6f011cf52f9a

avoid .split() in for loops and use tuples instead split can be more readable for longer lists like the list in dirstate.invalidate. As dirstate.invalidate is used in wlock() and therefoe used heavily, I think it's worth avoiding a split there too.
author David Soria Parra <dsp@php.net>
date Thu, 02 Dec 2010 03:43:06 +0100
parents 4db5bfea1b07
children 04a950b1c2ad
comparison
equal deleted inserted replaced
13199:a38df1250945 13200:6f011cf52f9a