What is the fastest way to sort a large array of integers in python?

后端 未结 0 878
情歌与酒
情歌与酒 2021-01-29 19:50

I want to sort an array of integers in python:

a=np.random.randint(0, high=1000000, size=1000000)
b = np.sort(a)

A faster way I found on quora is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题