1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library/files
Cristian Ciupitu 0749112286 Micro-optimization: replace s.find(x)!=-1 with x in s
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
2014-03-16 13:10:28 -04:00
..
acl fixed bad detection of change on default and premature break 2014-03-15 01:10:15 -04:00
assemble
copy
fetch
file Micro-optimization: replace s.find(x)!=-1 with x in s 2014-03-16 13:10:28 -04:00
ini_file
lineinfile
stat now stat skips md5 if file isn't readable 2014-03-11 22:50:05 -04:00
synchronize
template Fix typo 2014-03-15 20:04:38 +13:00
unarchive
xattr