全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1317
推到 Plurk!
推到 Facebook!

請問Hash Table

尚未結案
erutluv
一般會員


發表:7
回覆:7
積分:7
註冊:2003-04-22

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-07-13 18:03:50 IP:220.130.xxx.xxx 未訂閱
請問在BCB中有Hash Table或相關的元件可以針對keys或values作Sort嗎?
pwipwi
版主


發表:68
回覆:629
積分:349
註冊:2004-04-08

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-07-13 19:23:14 IP:211.76.xxx.xxx 未訂閱
erutluv你好: 可以試試用THashedStringList。 THashedStringList maintains a list of strings using an internal hash table. THashedStringList is a string list that uses a hash table internally to speed the process of locating strings. It is used internally by TMemIniFile to manage the strings from an INI file, but can be used in the same way as any other string list. By using THashedStringList instead of TStringList, you can improve performance when the list contains a large number of strings.
chtai
高階會員


發表:68
回覆:238
積分:116
註冊:2004-05-21

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-07-14 01:48:00 IP:140.113.xxx.xxx 未訂閱
引言: 請問在BCB中有Hash Table或相關的元件可以針對keys或values作Sort嗎?
erutluv兄您好: 不知 multimap 適不適合您呢? http://delphi.ktop.com.tw/topic.php?TOPIC_ID=52065 這裡有說明可以參考看看 :) -- http://www.csie.nctu.edu.tw/~chtai/software.html 好用免費軟體的收集網頁,歡迎大家跟我分享或一同推廣免費軟體。 若您覺得這網頁不錯,也歡迎您將它傳出去 :)
------
My Web: http://nelson.csie.us
My Blog: http://blog.nelson.csie.us
系統時間:2024-05-15 3:47:50
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!