[問題] 有關Datatable中的Rows.Find

看板C_Sharp作者 (Tom)時間12年前 (2011/10/29 20:23), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
請教一個有關 datatable中Rows.Find的問題 這網頁中寫到 http://www.pcreview.co.uk/forums/hashtable-datatable-t3912693.html The item retrieving from datatable (using datatable.rows.find (by key) is much slower than getting items from hashtable. 而另一網頁中有人說到 http://topic.csdn.net/t/20060330/23/4652704.html Find 当然快,因为DataRowCollection 的内部是用HashTable实现的 那datatable中的Rows.Find內部是用hashtable實現的嗎 還是不是呢? -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 175.96.59.76
文章代碼(AID): #1Eg_16GF (C_Sharp)