русский
Germany.ruForen → Архив Досок→ Programmierung

LINQом из DataTable по индексу?

15.11.22 02:24
Re: LINQом из DataTable по индексу?
 
Murr патриот
Murr
in Antwort simplename 14.11.22 20:21

и далее по присказке?

----

Ну а как иначе?


Существенное из ссылки

Problem:

The DataTable.Select method creates a "System.Data.Select" class instance internally, and this "Select" class creates indexes based on the fields (columns) specified in the query. The Select class makes re-use of the indexes it had created but the DataTable implementation does not re-use the Select class instance hence the indexes are re-created every time DataTable.Select is invoked.


Вот что-то похожее мне и интересно, но в варианте когда индекс создается мною, поддерживается самой таблицей,и ре-юзается.


еще быстрее?

-----

Быстрее бывает разное.

Одно быстрее - число систем в кластере.

Другое быстрее - уменьшение количества операций.

Сейчас меня интересует второе.

 

Sprung zu