##// END OF EJS Templates
Backport PR #2849: utils/data: Use list comprehension for uniq_stable()...
Backport PR #2849: 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
MinRK -
r9863:90ae0554
Show More
Name Size Modified Last Commit Author
/ IPython / lib
tests
__init__.py Loading ...
backgroundjobs.py Loading ...
clipboard.py Loading ...
deepreload.py Loading ...
demo.py Loading ...
display.py Loading ...
guisupport.py Loading ...
inputhook.py Loading ...
inputhookglut.py Loading ...
inputhookgtk.py Loading ...
inputhookgtk3.py Loading ...
inputhookpyglet.py Loading ...
inputhookqt4.py Loading ...
inputhookwx.py Loading ...
irunner.py Loading ...
kernel.py Loading ...
latextools.py Loading ...
pretty.py Loading ...
security.py Loading ...