[Mono-bugs] [Bug 357947] Performance problem with System.Data

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 1 08:47:37 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=357947

User informatique.internet at fiducial.fr added comment
https://bugzilla.novell.com/show_bug.cgi?id=357947#c4





--- Comment #4 from Hubert FONGARNAND <informatique.internet at fiducial.fr>  2008-02-01 06:47:37 MST ---
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!


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