c# - Indexed properties with Linq? -
in database create indexes on columns want query joins.
linq objects facilitate in way?
i imagine search performance (much) improved when somehow list's can supported binary trees (indexes) in memory mapped specific properties of t.
i thinking of lists not have optimized inserts or deletes.
1 turn off index optimization.
no; linq not use indexes.
instead, can use i4o, does.
note many linq operations, such distinct
, join
, groupby
, , others, build hasttable (or hashset, appropriate) avoid o(n2) performance.
more information, see jon skeet's edulinq series.
Comments
Post a Comment