mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
017b947464
As that method makes expensive ve.compare calls, we can quickly avoid most cases by testing AnnotationSet#contains first. On page load this reduces the number of ve.compare calls on [[:en:Argentina]] from ~6,000,000 to about ~2,000. Also reduces ve.compare calls per backspace keystroke from ~300 to 2. We can optimise this further, but this is a good simple start. Bug: 52013 Change-Id: Ie3b4517fd13383c48acb64b3c4e82051c34e7484 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
test | ||
ui | ||
ve.BranchNode.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.Element.js | ||
ve.EventEmitter.js | ||
ve.Factory.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.NamedClassFactory.js | ||
ve.Node.js | ||
ve.Range.js | ||
ve.Registry.js |