Module talk:Delink: Difference between revisions

Content deleted Content added
Zebulon84 (talk | contribs)
Created page with '== Optimization of nested links == Hello, When used many times in a page (several hundred times) this delink operation is quite long (several seconds), especial...'
 
Line 10:
 
[[User:Zebulon84|Zebulon84]] ([[User talk:Zebulon84|talk]]) 09:07, 17 April 2014 (UTC)
 
:That's a neat trick! It's certainly better than the character-by-character concatenation mess that I created. We should be able to increase the performance further by using the Lua string library rather than the mw.ustring library where possible. Using mw.ustring has the drawback of having to cross back and forth between Lua and PHP all the time, which reduces the performance by quite a bit. Also, your version has some regressions in dealing with interwiki links, but that should be fixed easily enough. I'll have a look and see if I can improve it. Best — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 14:51, 17 April 2014 (UTC)