<!-- lang: python -->
{}.fromkeys(list).keys()
其它方法参见: http://www.peterbe.com/plog/uniqifiers-benchmark/
<!-- lang: python -->
{}.fromkeys(list).keys()
其它方法参见: http://www.peterbe.com/plog/uniqifiers-benchmark/
转载于:https://my.oschina.net/scroll/blog/120367