Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Repository
57acf104c661da111d6d749118b090e69eb3994b
Switch branch/tag
ansible
library
commands
History
Find file
Select Archive Format
Source code
Download zip
Download tar.gz
Download tar.bz2
Download tar
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
Mar 16, 2014
07491122
Name
Last commit
Last update
..
command
Loading commit data...
raw
Loading commit data...
script
Loading commit data...
shell
Loading commit data...