mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-28 02:00:01 +00:00
f4501ccd22
mw.ustring is really really slow. I've discovered that in a lot of modules on enwiki, upwards of 2/3 of the total runtime gets used when mw.html calls mw.ustring.gsub. This change checks whether any Unicode characters are present, and if not, calls string.gsub instead. Change-Id: Ia50061584be3901ae7428354c449236225c318db |
||
---|---|---|
common | ||
engines | ||
i18n | ||
modules | ||
tests/engines | ||
.gitignore | ||
.gitreview | ||
.jscsrc | ||
.jshintignore | ||
.jshintrc | ||
composer.json | ||
Gruntfile.js | ||
package.json | ||
phpcs.xml | ||
Scribunto.i18n.php | ||
Scribunto.magic.php | ||
Scribunto.namespaces.php | ||
Scribunto.php |