Jump to content

Module talk:Delink

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zebulon84 (talk | contribs) at 09:07, 17 April 2014 (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...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Hello,

When used many times in a page (several hundred times) this delink operation is quite long (several seconds), especially if text to delink is not short. To avoid the 10s limit for lua operation, I've tried to optimize it for French Wikipedia. My new version seams 4 to 10 times faster depending of string length.

Here are my modifications. I think the main effect comes from the way nested brackets are handled.

Please feel free to evaluate, criticize and/or use it.

Zebulon84 (talk) 09:07, 17 April 2014 (UTC)[reply]