主旨: Re: [programming] Bubble Sort 與 Shell Sort 效 率 比 較    新聞組: comp.web
 寄件者: Man-wai CHANG    日期: 20 Sep 2006 22:00:26 +0800
 
 
rimring wrote:
> Bubble Sort 與 及 Shell Sort 都 是 其 中 一 種 internal sorting 技 術 。
> 增 加 n 的 值 可 輸 入 更 多 參 數 。
> 初 步 測 試 顯 示 Shell Sort 的 效 率 比 Bubble Sort 高 。

Bubble Sort is the slowest. You should also check out qsort.

-- 
  .~.   Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
 / v \  Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06)  Linux 2.6.18
  ^ ^   21:59:01 up 24 min 0 users load average: 1.01 1.12 1.20
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk

----
最勁p2p論壇 mimip2p
http://www.mimip2p.com/bbs/

Your free newsgroup server
http://www.nntp.hk/webnews/
http://www.nntp.hk/web/