open_iscsi
11.6 KB
-
Micro-optimization: replace s.find(x)!=-1 with x in s · 07491122
timeit shows a speedup of ~3x on Python 2.7.5 x86_64. It also makes the code a bit shorter.
Cristian Ciupitu committed
timeit shows a speedup of ~3x on Python 2.7.5 x86_64. It also makes the code a bit shorter.