[Mono-devel-list] "reduce filter compilation" patch for DataView (and DataTable)

Atsushi Eno atsushi at ximian.com
Mon Jan 24 05:57:28 EST 2005

Hi Suresh,

I think DataView could select rows more effectively (and could share
code with DataTable). Here's a patch that reduces compilation of
expression and sort. From the ChangeLog:

* DataTable.cs, DataView.cs :
  Optimized DataView to compile only once RowFilter and Sort when
  those properties are set. To make it possible, extracted
  SortableColumn out of DataTable and added internal DataTable.Select()
  that accepts precompiled IExpression and SortableColumns[].

If it looks ok, I'll commit later.

Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dataview-compileonce.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050124/deb8c5f3/attachment.pl 

More information about the Mono-devel-list mailing list