新乡学院学报
新鄉學院學報
신향학원학보
Journal of Xinxiang University
2015年
9期
33-35
,共3页
快速排序%优化%排序效率
快速排序%優化%排序效率
쾌속배서%우화%배서효솔
quickly sort%optimize%sorting efficiency
排序算法的好坏决定着程序运行速度的快慢。为达到提高排序算法效率、减少数据排序时间的目的,从随机选取关键元素、双向索引和小数组插入排序等方面对快速排序算法进行优化。经过测试可知,改进后排序算法的排序效率有很大提高。
排序算法的好壞決定著程序運行速度的快慢。為達到提高排序算法效率、減少數據排序時間的目的,從隨機選取關鍵元素、雙嚮索引和小數組插入排序等方麵對快速排序算法進行優化。經過測試可知,改進後排序算法的排序效率有很大提高。
배서산법적호배결정착정서운행속도적쾌만。위체도제고배서산법효솔、감소수거배서시간적목적,종수궤선취관건원소、쌍향색인화소수조삽입배서등방면대쾌속배서산법진행우화。경과측시가지,개진후배서산법적배서효솔유흔대제고。
Nowadays, cloud computing and big data more and more attention, and time as a measure of the efficiency factor, will increasingly need to be resolved, ranking algorithm determines the running speed of the program. In order to improve the operating efficiency of sorting algorithms, reduce sorting time for large amounts of data, quickly sort algorithms from random key elements, bidirectional index, small array insertion sort to optimize. After the test, improved sorting algorithm sorting efficiency is greatly improved.