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
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