[Mono-bugs] [Bug 357947] [Performance] Performance problem with System.Data
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Mar 17 14:48:11 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=357947
User vvaradhan at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=357947#c7
--- Comment #7 from Veerapuram Varadhan <vvaradhan at novell.com> 2008-03-17 12:48:10 MST ---
(In reply to comment #4 from Hubert FONGARNAND)
> With this dirty patch
>
> Index: System.Data/DataView.cs
> ===================================================================
> --- System.Data/DataView.cs (révision 94452)
> +++ System.Data/DataView.cs (copie de travail)
> @@ -757,7 +757,10 @@
> /* ItemDeleted */
> int newIndex;
> newIndex = IndexOf (args.Row);
> - UpdateIndex (true);
> + if (Index != null )
> + {
> + Index.Delete(args.Row);
> + }
> OnListChanged (new ListChangedEventArgs
> (ListChangedType.ItemDeleted, newIndex, -1));
> }
>
>
> i get :
> 10000 rows inserted : 00:00:00.3792930
> filter done!!! : 00:00:00.0904000
> line removed1000 00:00:00.0698240
>
> for the first test case!
>
Patch committed to rev:98474 (and also to mono-1-9 branch).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list