作者T0M (Tom)
看板C_Sharp
标题[问题] 有关Datatable中的Rows.Find
时间Sat Oct 29 20:23:31 2011
请教一个有关 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