Improving the Quick sort

前端 未结 14 1284
终归单人心
终归单人心 2021-02-05 22:33

If possible, how can I improve the following quick sort(performance wise). Any suggestions?

void main()
    {
      quick(a,0,n-1);
    }

    void quick(i         


        
14条回答
  •  囚心锁ツ
    2021-02-05 23:06

    completely dumb answer, but... compile your code in release mode and turn on optimizations !

提交回复
热议问题