Content deleted Content added
←Created page with '==String functions== I replaced the Ustring functions with the basic byte-based functions, because processing was really slow. The basic functions will work for...' |
m Trappist the monk moved page Module talk:Language/data/iana languages/make to Module talk:Lang/data/iana languages/make without leaving a redirect |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1:
==String functions==
I replaced the Ustring functions with the basic byte-based functions, because processing was really slow. The basic functions will work for UTF-8 provided certain conditions are met, which are described in [[wikt:WT:LUA#Patterns]]. (The <code>patternIsSimple</code> function in [https://github.com/wikimedia/mediawiki-extensions-Scribunto/blob/master/engines/LuaCommon/lualib/ustring/ustring.lua ustring.lua] is too conservative.) I confirmed that the output was the same by editing [[WP:SB]] with the "before" and "after" versions of the output. No diff was generated. Now the processing time is a fiftieth of what it was. — [[User:Erutuon|Eru]]·[[User talk:Erutuon|tuon]] 21:44, 5 November 2017 (UTC)
|