mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-04 20:58:13 +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 |
||
---|---|---|
.. | ||
LuaCommon | ||
LuaSandbox | ||
LuaStandalone |