##// END OF EJS Templates
utils.data: Use list comprehension for uniq_stable()...
utils.data: Use list comprehension for uniq_stable() This should be faster than and explicit for loop. Also, a set makes more sense than a dict if we only care about values. After these changes, the resulting code is the same as Dave Kirby's uniqify() suggestion on Peter Bengtsson's blog [1]. [1]: http://www.peterbe.com/plog/uniqifiers-benchmark
W. Trevor King -
r9249:8aaafe40
Show More
Name Size Modified Last Commit Author
/ IPython / testing
plugin
tests
__init__.py Loading ...
_paramtestpy2.py Loading ...
_paramtestpy3.py Loading ...
decorators.py Loading ...
globalipapp.py Loading ...
iptest.py Loading ...
ipunittest.py Loading ...
mkdoctests.py Loading ...
nose_assert_methods.py Loading ...
nosepatch.py Loading ...
skipdoctest.py Loading ...
tools.py Loading ...