Prefer deque over inserting to start of list
Review Request #7820 — Created Dec. 22, 2015 and submitted
Prepending to a python list is inefficient (according to the
python docs,list.insert(0, v)isO(n)) and using adequeis
superior for performance (deque.appendleft(v)isO(1)).
Testing done:
- Ran unit tests.
Tool: Pyflakes Processed Files: rbtools/clients/clearcase.py Tool: PEP8 Style Checker Processed Files: rbtools/clients/clearcase.py