mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 10:11:45 +00:00
b03165fcce
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 |
||
---|---|---|
.phan | ||
i18n | ||
images | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json |