mediawiki-extensions-Discus.../includes
Ed Sanders b03165fcce Compare node positions using upward traversal
A TreeWalker ends up walking potentially every single subsequent
node in the document looking for a target node. Instead use upwards
traversal to find a common ancestor, then sibling traversal to
compare document order.

This makes calling cloneContents on every comment on a 300k talk page
significantly faster, going from >30s to 500ms locally.

Change-Id: I28a2b8c11d4098d9bc44d19b98e19ccc02273098
2020-11-16 19:22:10 +00:00
..
ApiDiscussionTools.php Include 'false' results in 'transcludedfrom' API response 2020-10-22 22:25:35 +02:00
ApiDiscussionToolsEdit.php Move ID->title logic into HeadingItem 2020-11-05 16:10:39 +00:00
CommentFormatter.php Treat headings like comments now they have IDs 2020-10-28 12:38:18 +00:00
CommentItem.php Remove comments that literally repeat what the code says 2020-11-11 09:31:59 +01:00
CommentModifier.php Remove comments that literally repeat what the code says 2020-11-11 09:31:59 +01:00
CommentParser.php Remove comments that literally repeat what the code says 2020-11-11 09:31:59 +01:00
CommentUtils.php Remove comments that literally repeat what the code says 2020-11-11 09:31:59 +01:00
Data.php build: Updating mediawiki/mediawiki-codesniffer to 32.0.0 2020-10-29 10:53:01 +00:00
HeadingItem.php Move ID->title logic into HeadingItem 2020-11-05 16:10:39 +00:00
Hooks.php Remove comments that literally repeat what the code says 2020-11-11 09:31:59 +01:00
ImmutableRange.php Compare node positions using upward traversal 2020-11-16 19:22:10 +00:00
NodeFilter.php CommentParser.php: Use tree walking instead of XPath 2020-07-15 16:40:50 +00:00
ThreadItem.php Remove comments that literally repeat what the code says 2020-11-11 09:31:59 +01:00
TreeWalker.php CommentParser.php: Use tree walking instead of XPath 2020-07-15 16:40:50 +00:00