https://bugzilla.wikimedia.org/show_bug.cgi?id=52013

       Web browser: ---
            Bug ID: 52013
           Summary: Deleting plain text from a large page with backspace
                    or delete is very slow
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Data Model
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Using the backspace or delete key to delete plain text on a large page takes
hundreds of milliseconds per character, predominantly because
ve.dm.Document.prototype.commit() is called, which leads to
ve.ce.ContentBranchNode.prototype.onChildUpdate(), which leads to
ve.dm.Converter.openAndCloseAnnotations(), which calls
containsComparableForSerialization(), which is apparently O(N). 

Bug 52012 also affects backspace performance.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to