[Mono-dev] Patch for System.Data.Mono.Data.ColumnExpression

2006-01-11 Thread Boris Kirzner
Hello all, Attached is a proposed patch for ColumnExpression. The main idea is caching the column and relations used by the object instead of searching in the data column and relation collections each time we access ColumnExpression for Eval. The patch brings slight performance improvement. If

Re: [Mono-dev] Patch for System.Data.Mono.Data.ColumnExpression

2006-01-11 Thread T Senganal
Hi >@@ -44,6 +44,8 @@ > internal class ColumnReference : BaseExpression { > ReferencedTable refTable; > string relationName, columnName; >+ DataColumn _cachedColumn; >+ DataRelation _cachedRelation; can cache the column ordinal instead o