主旨: Re: [programming] Bubble Sort 與 Shell Sort 效 率 比 較    新聞組: comp.web
 寄件者: "rimring"    日期: 24 Sep 2006 23:04:22 +0800
 
 

Mind to share the concept of qsort?
I have a long time havn't update myself and really don't know what is it!
  "Man-wai CHANG"  撰寫於郵件新聞:4511497a@news.nntp.hk...
  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/

Mind to share the concept of qsort?
I have a long time havn't update myself and really don't know what is it!
"Man-wai CHANG" <toylet.toylet@gmail.com> 撰寫於郵件新聞:4511497a@news.nntp.hk...
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/

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

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