ansible/lib
Cristian Ciupitu 96ff1444f0 Micro-optimization: replace s.find(x)==0 with s.startswith(x)
timeit shows a speedup of ~1.4x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
2014-03-27 20:35:20 +02:00
..
ansible Micro-optimization: replace s.find(x)==0 with s.startswith(x) 2014-03-27 20:35:20 +02:00