##// 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 / utils / tests
__init__.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_io.py Loading ...
test_jsonutil.py Loading ...
test_module_paths.py Loading ...
test_notification.py Loading ...
test_openpy.py Loading ...
test_path.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_text.py Loading ...
test_traitlets.py Loading ...
test_wildcard.py Loading ...